Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
0c9f778
1
Parent(s):
0d3b879
Update app.py
Browse files
app.py
CHANGED
@@ -102,11 +102,11 @@ def TranscribePianoAudio(input_audio):
|
|
102 |
#========================================================
|
103 |
|
104 |
output_midi_title = str(fn1)
|
105 |
-
output_midi_summary = str(
|
106 |
output_midi = str(new_fn)
|
107 |
output_audio = (16000, audio)
|
108 |
|
109 |
-
output_plot = TMIDIX.plot_ms_SONG(
|
110 |
|
111 |
print('Output MIDI file name:', output_midi)
|
112 |
print('Output MIDI title:', output_midi_title)
|
|
|
102 |
#========================================================
|
103 |
|
104 |
output_midi_title = str(fn1)
|
105 |
+
output_midi_summary = str(escore[:3])
|
106 |
output_midi = str(new_fn)
|
107 |
output_audio = (16000, audio)
|
108 |
|
109 |
+
output_plot = TMIDIX.plot_ms_SONG(escore, plot_title=output_midi, return_plt=True)
|
110 |
|
111 |
print('Output MIDI file name:', output_midi)
|
112 |
print('Output MIDI title:', output_midi_title)
|