akhaliq HF staff commited on
Commit
3d861be
1 Parent(s): e08f207

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,5 +60,5 @@ def inference(audio):
60
  examples=[['miaow_16k.wav']]
61
  title="yamnet"
62
  description="An audio event classifier trained on the AudioSet dataset to predict audio events from the AudioSet ontology."
63
- gr.Interface(inference,"audio","text",examples=examples,title=title,description=description).launch(enable_queue=True)
64
 
 
60
  examples=[['miaow_16k.wav']]
61
  title="yamnet"
62
  description="An audio event classifier trained on the AudioSet dataset to predict audio events from the AudioSet ontology."
63
+ gr.Interface(inference,gr.inputs.Audio(type="filepath"),"text",examples=examples,title=title,description=description).launch(enable_queue=True)
64