Spaces:
Runtime error
Runtime error
add examples
Browse files- .gitignore +1 -0
- app.py +6 -4
- samples/143.mp3 +0 -0
- samples/205.mp3 +0 -0
- samples/429.mp3 +0 -0
- samples/997.mp3 +0 -0
.gitignore
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
.ipynb_checkpoints
|
|
|
|
|
|
| 1 |
.ipynb_checkpoints
|
| 2 |
+
.DS_Store
|
app.py
CHANGED
|
@@ -40,8 +40,10 @@ title = "Isai - toward better music understanding"
|
|
| 40 |
description = "This space uses MERT-95M model to peform various music information retrieval tasks."
|
| 41 |
|
| 42 |
audio_examples = [
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
| 45 |
]
|
| 46 |
|
| 47 |
df_init = pd.DataFrame(columns=['Task', 'Top 1', 'Top 2', 'Top 3', 'Top 4', 'Top 5'])
|
|
@@ -204,7 +206,7 @@ audio_chunked = gr.Interface(
|
|
| 204 |
title=title,
|
| 205 |
description=description,
|
| 206 |
# article=article,
|
| 207 |
-
|
| 208 |
)
|
| 209 |
|
| 210 |
# live_audio_chunked = gr.Interface(
|
|
@@ -233,4 +235,4 @@ audio_chunked = gr.Interface(
|
|
| 233 |
# ]
|
| 234 |
# )
|
| 235 |
# demo.queue(concurrency_count=1, max_size=5)
|
| 236 |
-
audio_chunked.launch(show_api=False)
|
|
|
|
| 40 |
description = "This space uses MERT-95M model to peform various music information retrieval tasks."
|
| 41 |
|
| 42 |
audio_examples = [
|
| 43 |
+
["samples/143.mp3"],
|
| 44 |
+
["samples/205.mp3"],
|
| 45 |
+
["samples/429.mp3"],
|
| 46 |
+
["samples/997.mp3"],
|
| 47 |
]
|
| 48 |
|
| 49 |
df_init = pd.DataFrame(columns=['Task', 'Top 1', 'Top 2', 'Top 3', 'Top 4', 'Top 5'])
|
|
|
|
| 206 |
title=title,
|
| 207 |
description=description,
|
| 208 |
# article=article,
|
| 209 |
+
examples=audio_examples,
|
| 210 |
)
|
| 211 |
|
| 212 |
# live_audio_chunked = gr.Interface(
|
|
|
|
| 235 |
# ]
|
| 236 |
# )
|
| 237 |
# demo.queue(concurrency_count=1, max_size=5)
|
| 238 |
+
audio_chunked.launch(show_api=False)
|
samples/143.mp3
ADDED
|
Binary file (362 kB). View file
|
|
|
samples/205.mp3
ADDED
|
Binary file (363 kB). View file
|
|
|
samples/429.mp3
ADDED
|
Binary file (363 kB). View file
|
|
|
samples/997.mp3
ADDED
|
Binary file (362 kB). View file
|
|
|