asigalov61 commited on
Commit
a93a079
1 Parent(s): 7155cdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -401,13 +401,14 @@ if __name__ == "__main__":
401
  " for faster running and longer generation"
402
  )
403
 
 
404
 
405
  input_midi = gr.File(label="input midi", file_types=[".midi", ".mid"], type="binary")
406
 
407
- output_plot = gr.Plot(label="output midi plot")
408
- output_audio = gr.Audio(label="output audio", format="mp3", elem_id="midi_audio")
409
- output_midi = gr.File(label="output midi", file_types=[".mid"])
410
- output_midi_seq = gr.Textbox(label="output midi metadata")
411
 
412
  run_event = input_midi.upload(match_midi, [input_midi],
413
  [output_midi_seq, output_midi, output_audio, output_plot])
 
401
  " for faster running and longer generation"
402
  )
403
 
404
+ gr.Markdown("# Upload any MIDI file to find its closest match")
405
 
406
  input_midi = gr.File(label="input midi", file_types=[".midi", ".mid"], type="binary")
407
 
408
+ output_plot = gr.Plot(label="output midi match sample plot")
409
+ output_audio = gr.Audio(label="output midi match sample audio", format="mp3", elem_id="midi_audio")
410
+ output_midi = gr.File(label="output midi match sample file", file_types=[".mid"])
411
+ output_midi_seq = gr.Textbox(label="output midi match metadata")
412
 
413
  run_event = input_midi.upload(match_midi, [input_midi],
414
  [output_midi_seq, output_midi, output_audio, output_plot])