jfforero commited on
Commit
53c7280
·
verified ·
1 Parent(s): d97a50e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def get_predictions(audio_input):
86
  # Create the Gradio interface
87
  interface = gr.Interface(
88
  fn=get_predictions,
89
- inputs=gr.Audio(label="Input Audio", type="file"),
90
  outputs=[gr.Label("Prediction"), gr.Image(type='pil')]
91
  )
92
 
 
86
  # Create the Gradio interface
87
  interface = gr.Interface(
88
  fn=get_predictions,
89
+ inputs=gr.Audio(label="Input Audio", type="filepath"),
90
  outputs=[gr.Label("Prediction"), gr.Image(type='pil')]
91
  )
92