Varosa commited on
Commit
ae1c45f
1 Parent(s): 4ba070c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def translate_audio(audio_file, target_language):
46
 
47
  # Define inputs
48
  inputs = [
49
- gr.Audio(type = "file", label = "Audio_file"),
50
  gr.Dropdown(["English", "Spanish", "French", "German", "Italian", "Chinese"], label = "Target_Language")
51
  ]
52
 
 
46
 
47
  # Define inputs
48
  inputs = [
49
+ gr.Audio(type = "filepath", label = "Audio_file"),
50
  gr.Dropdown(["English", "Spanish", "French", "German", "Italian", "Chinese"], label = "Target_Language")
51
  ]
52