asigalov61
commited on
Commit
•
ace20a5
1
Parent(s):
cf071b9
Update app.py
Browse files
app.py
CHANGED
@@ -319,11 +319,11 @@ if __name__ == "__main__":
|
|
319 |
|
320 |
gr.Markdown("## Classification results")
|
321 |
|
322 |
-
output_midi_title = gr.Textbox(label="
|
323 |
output_midi_summary = gr.Textbox(label="MIDI classification summary")
|
324 |
-
output_audio = gr.Audio(label="
|
325 |
-
output_plot = gr.Plot(label="
|
326 |
-
output_midi = gr.File(label="
|
327 |
|
328 |
run_event = run_btn.click(ClassifyMIDI, [input_midi],
|
329 |
[output_midi_title, output_midi_summary, output_midi, output_audio, output_plot])
|
|
|
319 |
|
320 |
gr.Markdown("## Classification results")
|
321 |
|
322 |
+
output_midi_title = gr.Textbox(label="Best classification match MIDI title")
|
323 |
output_midi_summary = gr.Textbox(label="MIDI classification summary")
|
324 |
+
output_audio = gr.Audio(label="Best classification match MIDI audio", format="wav", elem_id="midi_audio")
|
325 |
+
output_plot = gr.Plot(label="Best classification match MIDI score plot")
|
326 |
+
output_midi = gr.File(label="Best classification match MIDI file", file_types=[".mid"])
|
327 |
|
328 |
run_event = run_btn.click(ClassifyMIDI, [input_midi],
|
329 |
[output_midi_title, output_midi_summary, output_midi, output_audio, output_plot])
|