Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ demo = gr.Blocks()
|
|
97 |
# Audio translation using microphone as the input
|
98 |
audio_translate = gr.Interface(
|
99 |
fn=speech_to_speech_translation,
|
100 |
-
inputs=gr.Audio(source="microphone", type="filepath")
|
101 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
102 |
examples=[["./english.wav"], ["./chinese.wav"]],
|
103 |
title=title,
|
|
|
97 |
# Audio translation using microphone as the input
|
98 |
audio_translate = gr.Interface(
|
99 |
fn=speech_to_speech_translation,
|
100 |
+
inputs=gr.Audio(source="microphone", type="filepath"),
|
101 |
outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
102 |
examples=[["./english.wav"], ["./chinese.wav"]],
|
103 |
title=title,
|