Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ demo = gr.Blocks()
|
|
52 |
mic_translate = gr.Interface(
|
53 |
fn=speech_to_speech_translation,
|
54 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
55 |
-
outputs=[gr.Audio(label="Generated Speech", type="numpy"), gr.
|
56 |
title=title,
|
57 |
description=description,
|
58 |
)
|
@@ -60,7 +60,7 @@ mic_translate = gr.Interface(
|
|
60 |
file_translate = gr.Interface(
|
61 |
fn=speech_to_speech_translation,
|
62 |
inputs=gr.Audio(source="upload", type="filepath"),
|
63 |
-
outputs=[gr.Audio(label="Generated Speech", type="numpy"), gr.
|
64 |
examples=[["./example.wav"]],
|
65 |
title=title,
|
66 |
description=description,
|
|
|
52 |
mic_translate = gr.Interface(
|
53 |
fn=speech_to_speech_translation,
|
54 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
55 |
+
outputs=[gr.Audio(label="Generated Speech", type="numpy"), gr.Textbox()],
|
56 |
title=title,
|
57 |
description=description,
|
58 |
)
|
|
|
60 |
file_translate = gr.Interface(
|
61 |
fn=speech_to_speech_translation,
|
62 |
inputs=gr.Audio(source="upload", type="filepath"),
|
63 |
+
outputs=[gr.Audio(label="Generated Speech", type="numpy"), gr.Textbox()],
|
64 |
examples=[["./example.wav"]],
|
65 |
title=title,
|
66 |
description=description,
|