Spaces:
Runtime error
Runtime error
Ray Leung
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,7 +105,15 @@ def start_process(audio_filepath, source_lang, target_lang):
|
|
| 105 |
playground = gr.Blocks()
|
| 106 |
|
| 107 |
with playground:
|
| 108 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
with gr.Row():
|
| 110 |
with gr.Column():
|
| 111 |
source_lang = gr.Dropdown(
|
|
|
|
| 105 |
playground = gr.Blocks()
|
| 106 |
|
| 107 |
with playground:
|
| 108 |
+
|
| 109 |
+
with gr.Row():
|
| 110 |
+
gr.Markdown("""
|
| 111 |
+
## Your AI Translate Assistant
|
| 112 |
+
### Gets input audio from user, transcribe and translate it. Convert back to speech.
|
| 113 |
+
- category: Automatic Speech Recognition, model: [nvidia/canary-1b](https://huggingface.co/nvidia/canary-1b)
|
| 114 |
+
- category: Text-to-Speech, model: [facebook/mms-tts-eng](https://huggingface.co/facebook/mms-tts-eng)
|
| 115 |
+
""")
|
| 116 |
+
|
| 117 |
with gr.Row():
|
| 118 |
with gr.Column():
|
| 119 |
source_lang = gr.Dropdown(
|