Spaces:
Runtime error
Runtime error
reverting back to only microphone
Browse files
app.py
CHANGED
|
@@ -283,7 +283,7 @@ def translation(audio, text, source_lang_nllb, target_code_nllb, output_type, se
|
|
| 283 |
|
| 284 |
with gr.Blocks(title = "Octopus Translation App") as octopus_translator:
|
| 285 |
with gr.Row():
|
| 286 |
-
audio_file = gr.Audio(
|
| 287 |
|
| 288 |
with gr.Row():
|
| 289 |
input_text = gr.Textbox(label="Input text")
|
|
|
|
| 283 |
|
| 284 |
with gr.Blocks(title = "Octopus Translation App") as octopus_translator:
|
| 285 |
with gr.Row():
|
| 286 |
+
audio_file = gr.Audio(source="microphone")
|
| 287 |
|
| 288 |
with gr.Row():
|
| 289 |
input_text = gr.Textbox(label="Input text")
|