Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
|
|
|
| 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,
|