asigalov61
commited on
Commit
•
ec2f3fd
1
Parent(s):
7fd4a63
Update app.py
Browse files
app.py
CHANGED
@@ -387,5 +387,16 @@ if __name__ == "__main__":
|
|
387 |
|
388 |
run_event = run_btn.click(ClassifyMIDI, [input_midi, input_sampling_resolution],
|
389 |
[output_midi_cls_summary])
|
390 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
app.queue().launch()
|
|
|
387 |
|
388 |
run_event = run_btn.click(ClassifyMIDI, [input_midi, input_sampling_resolution],
|
389 |
[output_midi_cls_summary])
|
390 |
+
gr.Examples(
|
391 |
+
[["Honesty.kar", 2],
|
392 |
+
["House Of The Rising Sun.mid", 2],
|
393 |
+
["Nothing Else Matters.kar", 2],
|
394 |
+
["Sharing The Night Together.kar", 2]
|
395 |
+
],
|
396 |
+
[input_midi, input_sampling_resolution],
|
397 |
+
[output_midi_cls_summary],
|
398 |
+
ClassifyMIDI,
|
399 |
+
cache_examples=True,
|
400 |
+
)
|
401 |
+
|
402 |
app.queue().launch()
|