Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,14 @@ mic_classify = gr.Interface(
|
|
25 |
outputs=gr.outputs.Label(),
|
26 |
title=title,
|
27 |
theme="huggingface",
|
28 |
-
description=description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
)
|
30 |
|
31 |
file_classify = gr.Interface(
|
@@ -35,13 +42,6 @@ file_classify = gr.Interface(
|
|
35 |
inputs=gr.inputs.Audio(source="upload", optional=True, label="Audio file", type="filepath"),
|
36 |
theme="huggingface",
|
37 |
outputs=gr.outputs.Label(),
|
38 |
-
examples=[
|
39 |
-
["./scene3_329.wav", "classify", False],
|
40 |
-
["./scene1_200.wav", "classify", True],
|
41 |
-
["./light_422.wav", "classify", True],
|
42 |
-
["./ambient_476.wav", "classify", True],
|
43 |
-
],
|
44 |
-
cache_examples=True,
|
45 |
)
|
46 |
|
47 |
# iface.test_examples(example_samples)
|
|
|
25 |
outputs=gr.outputs.Label(),
|
26 |
title=title,
|
27 |
theme="huggingface",
|
28 |
+
description=description,
|
29 |
+
examples=[
|
30 |
+
["./scene3_329.wav"],
|
31 |
+
["./scene1_200.wav"],
|
32 |
+
["./light_422.wav"],
|
33 |
+
["./ambient_476.wav"],
|
34 |
+
],
|
35 |
+
cache_examples=True,
|
36 |
)
|
37 |
|
38 |
file_classify = gr.Interface(
|
|
|
42 |
inputs=gr.inputs.Audio(source="upload", optional=True, label="Audio file", type="filepath"),
|
43 |
theme="huggingface",
|
44 |
outputs=gr.outputs.Label(),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
)
|
46 |
|
47 |
# iface.test_examples(example_samples)
|