Spaces:
Sleeping
Sleeping
frogcho123
commited on
Commit
·
074508e
1
Parent(s):
c89a3ea
Update app.py
Browse files
app.py
CHANGED
@@ -53,11 +53,10 @@ iface = gr.Interface(
|
|
53 |
gr.inputs.Dropdown(choices=['en', 'ru', 'de', 'fr'], label="Target Language")
|
54 |
],
|
55 |
outputs=[
|
56 |
-
gr.outputs.Audio(type="
|
57 |
gr.outputs.Textbox(label="Original Text"),
|
58 |
gr.outputs.Textbox(label="Translated Text"),
|
59 |
gr.outputs.Textbox(label="Target Language"),
|
60 |
]
|
61 |
)
|
62 |
iface.launch()
|
63 |
-
|
|
|
53 |
gr.inputs.Dropdown(choices=['en', 'ru', 'de', 'fr'], label="Target Language")
|
54 |
],
|
55 |
outputs=[
|
56 |
+
gr.outputs.Audio(type="filepath", label="Translated Audio"),
|
57 |
gr.outputs.Textbox(label="Original Text"),
|
58 |
gr.outputs.Textbox(label="Translated Text"),
|
59 |
gr.outputs.Textbox(label="Target Language"),
|
60 |
]
|
61 |
)
|
62 |
iface.launch()
|
|