Spaces:
Build error
Build error
harveen
commited on
Commit
•
d6cb30f
1
Parent(s):
40785e8
Adding Bengali
Browse files
ttsv/utils/inference/run_gradio.py
CHANGED
@@ -42,7 +42,7 @@ def build_gradio(args):
|
|
42 |
op = gr.outputs.Audio(type="numpy", label=None)
|
43 |
|
44 |
inputs_to_gradio = [textbox, gender, slider_noise_scale, slider_length_sclae, choice_transliteration, choice_number_conversion, choice_split_sentences]
|
45 |
-
iface = gr.Interface(fn=hit_tts, examples = examples, inputs=inputs_to_gradio, outputs=op, theme='huggingface', title='Vakyansh
|
46 |
iface.launch(enable_queue=True)
|
47 |
|
48 |
if __name__ == "__main__":
|
|
|
42 |
op = gr.outputs.Audio(type="numpy", label=None)
|
43 |
|
44 |
inputs_to_gradio = [textbox, gender, slider_noise_scale, slider_length_sclae, choice_transliteration, choice_number_conversion, choice_split_sentences]
|
45 |
+
iface = gr.Interface(fn=hit_tts, examples = examples, inputs=inputs_to_gradio, outputs=op, theme='huggingface', title='Vakyansh Bengali 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 language and switch off transliteration. Contact @harveenchadha on twitter for any issues.')
|
46 |
iface.launch(enable_queue=True)
|
47 |
|
48 |
if __name__ == "__main__":
|