Commit
·
ce646f6
1
Parent(s):
e7b15aa
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,11 +44,11 @@ filenames = [f"./{f}" for f in filenames]
|
|
| 44 |
demo = gr.Interface(
|
| 45 |
fn=classify_audio,
|
| 46 |
inputs=gr.Audio(type="filepath"),
|
| 47 |
-
outputs=[gr.Label(), gr.Number(label="Prediction time (s)")],
|
| 48 |
title=title,
|
| 49 |
description=description,
|
| 50 |
-
examples=[(f,) for f in filenames],
|
| 51 |
)
|
| 52 |
|
| 53 |
|
|
|
|
| 54 |
demo.launch()
|
|
|
|
| 44 |
demo = gr.Interface(
|
| 45 |
fn=classify_audio,
|
| 46 |
inputs=gr.Audio(type="filepath"),
|
| 47 |
+
outputs=[gr.Label(), gr.Number(label="Prediction time (s)")],
|
| 48 |
title=title,
|
| 49 |
description=description,
|
|
|
|
| 50 |
)
|
| 51 |
|
| 52 |
|
| 53 |
+
|
| 54 |
demo.launch()
|