ardneebwar
commited on
Commit
•
687e724
1
Parent(s):
62d5b11
Update app.py. Added example files.
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ description = """
|
|
29 |
Animal Sound Classifier model (Fine-tuned "ntu-spml/distilhubert") | Dataset: ESC-50 from Github (only the animal sounds) | Better to use audios 5 seconds long.
|
30 |
"""
|
31 |
|
32 |
-
filenames = ['cat.wav']
|
33 |
filenames = [f"./{f}" for f in filenames]
|
34 |
|
35 |
demo = gr.Interface(
|
@@ -39,7 +39,7 @@ demo = gr.Interface(
|
|
39 |
title=title,
|
40 |
description=description,
|
41 |
theme="huggingface",
|
42 |
-
examples=[("cat.wav")],
|
43 |
live=False
|
44 |
)
|
45 |
|
|
|
29 |
Animal Sound Classifier model (Fine-tuned "ntu-spml/distilhubert") | Dataset: ESC-50 from Github (only the animal sounds) | Better to use audios 5 seconds long.
|
30 |
"""
|
31 |
|
32 |
+
filenames = ['cat.wav', 'dog.mp3', 'rooster.mp3']
|
33 |
filenames = [f"./{f}" for f in filenames]
|
34 |
|
35 |
demo = gr.Interface(
|
|
|
39 |
title=title,
|
40 |
description=description,
|
41 |
theme="huggingface",
|
42 |
+
examples=[("cat.wav"), ("dog.mp3"), ("rooster.mp3")],
|
43 |
live=False
|
44 |
)
|
45 |
|