AescF commited on
Commit
96c0e4b
1 Parent(s): 44d3266

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -45,7 +45,8 @@ filenames = [[f"./{f}"] for f in filenames]
45
  demo = gr.Interface(
46
  fn=classify_audio,
47
  inputs=gr.Audio(type="filepath"),
48
- outputs=[gr.outputs.Label(),gr.Number(label="Prediction time (s)")]
 
49
  title=title,
50
  description=description,
51
  examples=filenames,
 
45
  demo = gr.Interface(
46
  fn=classify_audio,
47
  inputs=gr.Audio(type="filepath"),
48
+ outputs=[gr.Label(num_top_classes=11, label="Predictions"),
49
+ gr.Number(label="Prediction time (s)")],
50
  title=title,
51
  description=description,
52
  examples=filenames,