Ant commited on
Commit
6144259
1 Parent(s): 4b6701b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def classify_audio(filepath):
22
  import gradio as gr
23
 
24
  demo = gr.Interface(
25
- fn=classify_audio, inputs=gr.Audio(type="filepath"), outputs=[gr.outputs.Label(), gr.Number(label="Prediction time (s)")], title="Distilhubert-finetuned-gtzan",
26
  description="Audio classifier based on music genres, for more check out my github ar www.github.com/Ferno22"
27
  )
28
  demo.launch(debug=True)
 
22
  import gradio as gr
23
 
24
  demo = gr.Interface(
25
+ fn=classify_audio, inputs=gr.Audio(type="filepath"), outputs=[gr.Label(label="Predictions"), gr.Number(label="Prediction time (s)")], title="Distilhubert-finetuned-gtzan",
26
  description="Audio classifier based on music genres, for more check out my github ar www.github.com/Ferno22"
27
  )
28
  demo.launch(debug=True)