asigalov61 commited on
Commit
34fa13e
1 Parent(s): 68a77c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -212,23 +212,23 @@ def render_midi(input_midi,
212
  f.write(fdata)
213
  f.close()
214
 
215
- if soundfont_bank in ["Super GM",
216
- "Orpheus GM",
217
- "Live HQ GM",
218
- "Orchestra",
219
- "Real Choir",
220
- "Super Game Boy",
221
- "Proto Square"
222
- ]:
223
 
224
- sf2bank = ["Super GM",
225
- "Orpheus GM",
226
- "Live HQ GM"
227
- "Nice Strings + Orchestra",
228
- "Real Choir",
229
- "Super Game Boy",
230
- "Proto Square"
231
- ].index(soundfont_bank)
232
 
233
  else:
234
  sf2bank = 0
 
212
  f.write(fdata)
213
  f.close()
214
 
215
+ if soundfont_bank in ["Super GM",
216
+ "Orpheus GM",
217
+ "Live HQ GM",
218
+ "Nice Strings + Orchestra",
219
+ "Real Choir",
220
+ "Super Game Boy",
221
+ "Proto Square"
222
+ ]:
223
 
224
+ sf2bank = ["Super GM",
225
+ "Orpheus GM",
226
+ "Live HQ GM",
227
+ "Nice Strings + Orchestra",
228
+ "Real Choir",
229
+ "Super Game Boy",
230
+ "Proto Square"
231
+ ].index(soundfont_bank)
232
 
233
  else:
234
  sf2bank = 0