asigalov61 commited on
Commit
4dc9d6d
1 Parent(s): a9f6060

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- # https://huggingface.co/spaces/asigalov61/Advanced-MIDI-Classifier
2
 
3
  import os
4
  import time as reqtime
@@ -374,13 +374,15 @@ if __name__ == "__main__":
374
  "Check out [Ultimate MIDI Classifier](https://github.com/asigalov61/Ultimate-MIDI-Classifier) on GitHub!\n\n"
375
  )
376
 
 
 
377
  input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"])
378
 
379
  run_btn = gr.Button("classify", variant="primary")
380
 
381
  gr.Markdown("## Classification results")
382
 
383
- output_midi_cls_summary = gr.Textbox(label="MIDI classification summary")
384
 
385
  run_event = run_btn.click(ClassifyMIDI, [input_midi],
386
  [output_midi_cls_summary])
 
1
+ # https://huggingface.co/spaces/asigalov61/Ultimate-MIDI-Classifier
2
 
3
  import os
4
  import time as reqtime
 
374
  "Check out [Ultimate MIDI Classifier](https://github.com/asigalov61/Ultimate-MIDI-Classifier) on GitHub!\n\n"
375
  )
376
 
377
+ gr.Markdown("## Upload any MIDI to classify")
378
+
379
  input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"])
380
 
381
  run_btn = gr.Button("classify", variant="primary")
382
 
383
  gr.Markdown("## Classification results")
384
 
385
+ output_midi_cls_summary = gr.Textbox(label="MIDI classification results")
386
 
387
  run_event = run_btn.click(ClassifyMIDI, [input_midi],
388
  [output_midi_cls_summary])