Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def translate_audio(audio, text, language_pair):
|
|
31 |
iface = gr.Interface(
|
32 |
fn=translate_audio,
|
33 |
inputs=[
|
34 |
-
|
35 |
gr.Textbox(lines=4, label="✍️ Oder Text eingeben"),
|
36 |
gr.Dropdown(choices=list(translation_models.keys()), label="🌐 Sprachrichtung wählen")
|
37 |
],
|
|
|
31 |
iface = gr.Interface(
|
32 |
fn=translate_audio,
|
33 |
inputs=[
|
34 |
+
gr.Audio(label="🎤 Spracheingabe (optional)", type="filepath", format="wav"),
|
35 |
gr.Textbox(lines=4, label="✍️ Oder Text eingeben"),
|
36 |
gr.Dropdown(choices=list(translation_models.keys()), label="🌐 Sprachrichtung wählen")
|
37 |
],
|