Spaces:
Running
Running
Luis
commited on
Commit
•
f8c5754
1
Parent(s):
41617a4
rm examples
Browse files
app.py
CHANGED
@@ -7,11 +7,11 @@ from fastapi import FastAPI
|
|
7 |
# ignore UserWarning
|
8 |
warnings.simplefilter("ignore", UserWarning)
|
9 |
|
10 |
-
examples = [
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
]
|
15 |
title = "yamnet test"
|
16 |
description = "An audio event classifier trained on the AudioSet dataset to predict audio events from the AudioSet ontology."
|
17 |
|
@@ -77,7 +77,7 @@ demo = gr.Interface(
|
|
77 |
predict_uri,
|
78 |
inputs=gr.inputs.Audio(type="filepath"),
|
79 |
outputs=['image', 'image', 'image', 'text', 'text', 'text', 'text'],
|
80 |
-
examples=examples,
|
81 |
title=title,
|
82 |
description=description,
|
83 |
allow_flagging='never'
|
|
|
7 |
# ignore UserWarning
|
8 |
warnings.simplefilter("ignore", UserWarning)
|
9 |
|
10 |
+
# examples = [
|
11 |
+
# ['res/miaow_16k.wav'],
|
12 |
+
# ['res/snore/pro_snore 6bee45643b45af9b_a7a3bbe6ba79af5b25b19ad10a8d9421d0d5679b.wav'],
|
13 |
+
# ['res/snore/Snoring vs Sleep Apnea - What the difference sounds like.mp4']
|
14 |
+
# ]
|
15 |
title = "yamnet test"
|
16 |
description = "An audio event classifier trained on the AudioSet dataset to predict audio events from the AudioSet ontology."
|
17 |
|
|
|
77 |
predict_uri,
|
78 |
inputs=gr.inputs.Audio(type="filepath"),
|
79 |
outputs=['image', 'image', 'image', 'text', 'text', 'text', 'text'],
|
80 |
+
# examples=examples,
|
81 |
title=title,
|
82 |
description=description,
|
83 |
allow_flagging='never'
|