Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -56,8 +56,8 @@ demo = gr.Blocks()
|
|
56 |
Muti_translate=gr.Interface(
|
57 |
fn=speech_to_speech_translation_fix,
|
58 |
inputs=[
|
59 |
-
gr.Audio(label="Upload Speech", source="upload", type="
|
60 |
-
gr.Audio(label="Record Speech", source="microphone", type="
|
61 |
],
|
62 |
outputs=[
|
63 |
gr.Audio(label="Generated Speech", type="numpy"),
|
@@ -80,7 +80,7 @@ Muti_translate=gr.Interface(
|
|
80 |
# fn=speech_to_speech_translation_fix,
|
81 |
# inputs=gr.Audio(source="upload", type="filepath"),
|
82 |
# outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
83 |
-
#
|
84 |
# title=title,
|
85 |
# description=description,
|
86 |
# )
|
|
|
56 |
Muti_translate=gr.Interface(
|
57 |
fn=speech_to_speech_translation_fix,
|
58 |
inputs=[
|
59 |
+
gr.Audio(label="Upload Speech", source="upload", type="filepath"),
|
60 |
+
gr.Audio(label="Record Speech", source="microphone", type="filepath"),
|
61 |
],
|
62 |
outputs=[
|
63 |
gr.Audio(label="Generated Speech", type="numpy"),
|
|
|
80 |
# fn=speech_to_speech_translation_fix,
|
81 |
# inputs=gr.Audio(source="upload", type="filepath"),
|
82 |
# outputs=gr.Audio(label="Generated Speech", type="numpy"),
|
83 |
+
# examples=examples,
|
84 |
# title=title,
|
85 |
# description=description,
|
86 |
# )
|