arham061 commited on
Commit
b2a5c82
·
1 Parent(s): 872aeea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def classify_audio(audio_file):
13
  # Gradio Interface
14
  iface = gr.Interface(
15
  fn=classify_audio,
16
- inputs=gr.Audio(type="file", label="Upload or Record Audio"),
17
  outputs=gr.Textbox(),
18
  live=True,
19
  )
 
13
  # Gradio Interface
14
  iface = gr.Interface(
15
  fn=classify_audio,
16
+ inputs=gr.Audio(type="filepath", label="Upload or Record Audio"),
17
  outputs=gr.Textbox(),
18
  live=True,
19
  )