Upload folder using huggingface_hub
Browse files- tts_gradio.py +2 -2
tts_gradio.py
CHANGED
@@ -250,8 +250,8 @@ if __name__ == '__main__':
|
|
250 |
tts_input2 = gr.Dropdown(microsoft_model_list, label="name")
|
251 |
tts_submit = gr.Button("Generate", variant="primary")
|
252 |
tts_output1 = gr.Textbox(label="Output Message")
|
253 |
-
tts_output2 = gr.Textbox(label="Output Audio")
|
254 |
-
|
255 |
tts_submit.click(microsoft, [tts_input1, tts_input2],
|
256 |
[tts_output1, tts_output2])
|
257 |
|
|
|
250 |
tts_input2 = gr.Dropdown(microsoft_model_list, label="name")
|
251 |
tts_submit = gr.Button("Generate", variant="primary")
|
252 |
tts_output1 = gr.Textbox(label="Output Message")
|
253 |
+
#tts_output2 = gr.Textbox(label="Output Audio")
|
254 |
+
tts_output2 = gr.Audio(label="Output Audio")
|
255 |
tts_submit.click(microsoft, [tts_input1, tts_input2],
|
256 |
[tts_output1, tts_output2])
|
257 |
|