asigalov61
commited on
Commit
•
6fd3683
1
Parent(s):
dd0af62
Update app.py
Browse files
app.py
CHANGED
@@ -150,9 +150,9 @@ def GenerateMIDI(progress=gr.Progress()):
|
|
150 |
output1.append(o)
|
151 |
itrack += 1
|
152 |
|
153 |
-
audio = synthesis(output1, 'SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2')
|
154 |
|
155 |
-
yield output1, "Allegro-Music-Transformer-Music-Composition.mid", (44100, audio)
|
156 |
|
157 |
#=================================================================================================
|
158 |
|
|
|
150 |
output1.append(o)
|
151 |
itrack += 1
|
152 |
|
153 |
+
audio = synthesis([500, output1], 'SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2')
|
154 |
|
155 |
+
yield [500, output1], "Allegro-Music-Transformer-Music-Composition.mid", (44100, audio)
|
156 |
|
157 |
#=================================================================================================
|
158 |
|