Removed translation textbox
Browse files
app.py
CHANGED
@@ -61,9 +61,7 @@ mic_translate = gr.Interface(
|
|
61 |
fn=speech_to_speech_translation,
|
62 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
63 |
outputs=[
|
64 |
-
gr.Audio(label="Generated Speech", type="numpy"),
|
65 |
-
gr.Text(label="Translation")
|
66 |
-
],
|
67 |
title=title,
|
68 |
description=description,
|
69 |
)
|
@@ -73,7 +71,6 @@ file_translate = gr.Interface(
|
|
73 |
inputs=gr.Audio(source="upload", type="filepath"),
|
74 |
outputs=[
|
75 |
gr.Audio(label="Generated Speech", type="numpy"),
|
76 |
-
gr.Text(label="Translation")
|
77 |
],
|
78 |
examples=[["./example.wav"]],
|
79 |
title=title,
|
|
|
61 |
fn=speech_to_speech_translation,
|
62 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
63 |
outputs=[
|
64 |
+
gr.Audio(label="Generated Speech", type="numpy"),],
|
|
|
|
|
65 |
title=title,
|
66 |
description=description,
|
67 |
)
|
|
|
71 |
inputs=gr.Audio(source="upload", type="filepath"),
|
72 |
outputs=[
|
73 |
gr.Audio(label="Generated Speech", type="numpy"),
|
|
|
74 |
],
|
75 |
examples=[["./example.wav"]],
|
76 |
title=title,
|