Spaces:
Sleeping
Sleeping
Upload 5 files
Browse files
app.py
CHANGED
@@ -21,6 +21,13 @@ def classify_audio(filepath):
|
|
21 |
number = classification[0]["score"]
|
22 |
return label, number
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
interface_options = {
|
26 |
"title": "Music Genre Classification",
|
|
|
21 |
number = classification[0]["score"]
|
22 |
return label, number
|
23 |
|
24 |
+
example_audio_files = [
|
25 |
+
"Freedom.mp3",
|
26 |
+
"In The Forest.mp3",
|
27 |
+
"Summer Mood.mp3",
|
28 |
+
]
|
29 |
+
|
30 |
+
examples = [{"filepath": path} for path in example_audio_files]
|
31 |
|
32 |
interface_options = {
|
33 |
"title": "Music Genre Classification",
|