asigalov61 commited on
Commit
361c433
1 Parent(s): 5d8506a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ def GenerateMIDI(progress=gr.Progress()):
139
  with open(f"Allegro-Music-Transformer-Music-Composition.mid", 'wb') as f:
140
  f.write(midi_data)
141
 
142
- audio = synthesis(TMIDIX.score2opus(song_f), 'SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2')
143
 
144
  yield output, "Allegro-Music-Transformer-Music-Composition.mid", (44100, audio)
145
 
 
139
  with open(f"Allegro-Music-Transformer-Music-Composition.mid", 'wb') as f:
140
  f.write(midi_data)
141
 
142
+ audio = synthesis(TMIDIX.score2opus(output), 'SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2')
143
 
144
  yield output, "Allegro-Music-Transformer-Music-Composition.mid", (44100, audio)
145