asigalov61 commited on
Commit
9363e59
1 Parent(s): f6c94d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -141,11 +141,11 @@ def GenerateMIDI(progress=gr.Progress()):
141
 
142
  output1 = []
143
 
144
- for o in output:
145
  if o[0] == 'note':
146
  output1.append(o)
147
 
148
- audio = synthesis(TMIDIX.score2opus(output1), 'SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2')
149
 
150
  yield output1, "Allegro-Music-Transformer-Music-Composition.mid", (44100, audio)
151
 
 
141
 
142
  output1 = []
143
 
144
+ for o in TMIDIX.score2opus(output):
145
  if o[0] == 'note':
146
  output1.append(o)
147
 
148
+ audio = synthesis(output1), 'SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2')
149
 
150
  yield output1, "Allegro-Music-Transformer-Music-Composition.mid", (44100, audio)
151