Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ speech2text = gr.Interface.load("huggingface/facebook/hubert-large-ls960-ft",
|
|
8 |
#translates English to Spanish text
|
9 |
translator = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-es",
|
10 |
outputs=gr.outputs.Textbox(label="English to Spanish Translated Text"))
|
11 |
-
TTS model for output speech
|
12 |
text2speech = gr.Interface.load("huggingface/facebook/tts_transformer-es-css10",
|
13 |
outputs=gr.outputs.Audio(label="English to Spanish Translated Audio"),
|
14 |
allow_flagging="never")
|
|
|
8 |
#translates English to Spanish text
|
9 |
translator = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-es",
|
10 |
outputs=gr.outputs.Textbox(label="English to Spanish Translated Text"))
|
11 |
+
#TTS model for output speech
|
12 |
text2speech = gr.Interface.load("huggingface/facebook/tts_transformer-es-css10",
|
13 |
outputs=gr.outputs.Audio(label="English to Spanish Translated Audio"),
|
14 |
allow_flagging="never")
|