Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ mic_translate = gr.Interface(
|
|
| 47 |
|
| 48 |
file_translate = gr.Interface(
|
| 49 |
fn=speech_to_speech_translation,
|
| 50 |
-
inputs=gr.Audio(
|
| 51 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
| 52 |
)
|
| 53 |
|
|
|
|
| 47 |
|
| 48 |
file_translate = gr.Interface(
|
| 49 |
fn=speech_to_speech_translation,
|
| 50 |
+
inputs=gr.Audio(sources="upload", type="filepath"),
|
| 51 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
| 52 |
)
|
| 53 |
|