Spaces:
janwari
/
Runtime error

vagmi commited on
Commit
3a63f58
1 Parent(s): 6d21b2d

add examples

Browse files
Files changed (6) hide show
  1. .gitignore +1 -0
  2. app.py +6 -4
  3. samples/143.mp3 +0 -0
  4. samples/205.mp3 +0 -0
  5. samples/429.mp3 +0 -0
  6. 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
- # ["input/example-1.wav"],
44
- # ["input/example-2.wav"],
 
 
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
- # examples=audio_examples,
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