Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ demo = gr.Blocks()
|
|
41 |
|
42 |
mic_translate = gr.Interface(
|
43 |
fn=speech_to_speech_translation,
|
44 |
-
inputs=gr.Audio(
|
45 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
46 |
)
|
47 |
|
|
|
41 |
|
42 |
mic_translate = gr.Interface(
|
43 |
fn=speech_to_speech_translation,
|
44 |
+
inputs=gr.Audio(sources="microphone", type="filepath"),
|
45 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
46 |
)
|
47 |
|