Spaces:
Runtime error
Runtime error
harveen
commited on
Commit
·
bcd8ef4
1
Parent(s):
0012c79
Add
Browse files
ttsv/utils/inference/run_gradio.py
CHANGED
@@ -39,7 +39,7 @@ def build_gradio(args):
|
|
39 |
op = gr.outputs.Audio(type="numpy", label=None)
|
40 |
|
41 |
inputs_to_gradio = [textbox, slider_noise_scale, slider_length_sclae, choice_transliteration, choice_number_conversion, choice_split_sentences]
|
42 |
-
iface = gr.Interface(fn=hit_tts, inputs=inputs_to_gradio, outputs=op, theme='huggingface', title='
|
43 |
iface.launch(share=True, enable_queue=True)
|
44 |
|
45 |
if __name__ == "__main__":
|
|
|
39 |
op = gr.outputs.Audio(type="numpy", label=None)
|
40 |
|
41 |
inputs_to_gradio = [textbox, slider_noise_scale, slider_length_sclae, choice_transliteration, choice_number_conversion, choice_split_sentences]
|
42 |
+
iface = gr.Interface(fn=hit_tts, inputs=inputs_to_gradio, outputs=op, theme='huggingface', title='Vakyansh Hindi TTS', article = 'Note: Transliteration models may not work well in some scenarios which can hamper the TTS quality, to evaluate the model in better sense it is advisable to provide input in the required langauge and switch off transliteration.')
|
43 |
iface.launch(share=True, enable_queue=True)
|
44 |
|
45 |
if __name__ == "__main__":
|