Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
0ccc4f3
1
Parent(s):
ac1c10f
Update app.py
Browse files
app.py
CHANGED
@@ -156,7 +156,7 @@ def GenerateMIDI(num_tok, idrums, iinstr):
|
|
156 |
with open(f"Allegro-Music-Transformer-Composition.mid", 'wb') as f:
|
157 |
f.write(midi_data)
|
158 |
|
159 |
-
output_plot = TMIDIX.plot_ms_SONG(output, plot_title='Allegro-Music-Transformer-Composition', return_plt=True)
|
160 |
|
161 |
audio = midi_to_colab_audio('Allegro-Music-Transformer-Composition.mid',
|
162 |
soundfont_path="SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2",
|
|
|
156 |
with open(f"Allegro-Music-Transformer-Composition.mid", 'wb') as f:
|
157 |
f.write(midi_data)
|
158 |
|
159 |
+
output_plot = TMIDIX.plot_ms_SONG(output[2], plot_title='Allegro-Music-Transformer-Composition', return_plt=True)
|
160 |
|
161 |
audio = midi_to_colab_audio('Allegro-Music-Transformer-Composition.mid',
|
162 |
soundfont_path="SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2",
|