gladikos commited on
Commit
b30d2a7
·
verified ·
1 Parent(s): 6793e55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- gr.Audio(source="microphone", type="filepath", label="🎤 Spracheingabe (optional)"),
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
  ],