Pranjal12345 commited on
Commit
4c1a6a6
1 Parent(s): 1d2fac3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -51,7 +51,7 @@ def translate_audio(inputs,target_language):
51
  return translated_text
52
 
53
  inputs=[
54
- gr.inputs.Audio(source="upload", type="filepath", label="Audio file"),
55
  gr.Dropdown(lang_list, value="English", label="Target Language"),
56
  ]
57
  description = "Audio translation"
@@ -65,5 +65,4 @@ translation_interface = gr.Interface(
65
  description= description
66
  )
67
 
68
- #gcgv
69
  translation_interface.launch()
 
51
  return translated_text
52
 
53
  inputs=[
54
+ gr.Audio(label="Audio file"),
55
  gr.Dropdown(lang_list, value="English", label="Target Language"),
56
  ]
57
  description = "Audio translation"
 
65
  description= description
66
  )
67
 
 
68
  translation_interface.launch()