akhaliq HF staff commited on
Commit
e08f207
1 Parent(s): 71ca42f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -57,6 +57,8 @@ def inference(audio):
57
 
58
  return f'The main sound is: {infered_class}'
59
 
60
- examples=[['miaow_16k.wav"']]
61
- gr.Interface(inference,"audio","text",examples=examples).launch(enable_queue=True)
 
 
62
 
 
57
 
58
  return f'The main sound is: {infered_class}'
59
 
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