Update app.py
Browse files
app.py
CHANGED
@@ -74,11 +74,7 @@ with gr.Blocks() as demo:
|
|
74 |
audio_in = gr.Microphone(label="Input audio", type="filepath")
|
75 |
audio_out = gr.Audio(label="Output audio", type="numpy", autoplay=True)
|
76 |
|
77 |
-
audio_in.stop_recording(
|
78 |
-
speech_to_speech_translation,
|
79 |
-
inputs=[audio_in],
|
80 |
-
outputs=[audio_out],
|
81 |
-
)
|
82 |
|
83 |
# gr.TabbedInterface([mic_translate, file_translate], ["Microphone", "Audio File"])
|
84 |
|
|
|
74 |
audio_in = gr.Microphone(label="Input audio", type="filepath")
|
75 |
audio_out = gr.Audio(label="Output audio", type="numpy", autoplay=True)
|
76 |
|
77 |
+
audio_in.stop_recording(speech_to_speech_translation, inputs=[audio_in], outputs=[audio_out])
|
|
|
|
|
|
|
|
|
78 |
|
79 |
# gr.TabbedInterface([mic_translate, file_translate], ["Microphone", "Audio File"])
|
80 |
|