asigalov61 commited on
Commit
2d7fbdc
·
verified ·
1 Parent(s): 32796a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -129,8 +129,8 @@ def render_midi(input_midi, render_type, soundfont_bank, render_sample_rate, cus
129
  f.write(fdata)
130
  f.close()
131
 
132
- if soundfont_bank in ["General MIDI", "Nice strings plus orchestra", "Real choir"]:
133
- sf2bank = ["General MIDI", "Nice strings plus orchestra", "Real choir"].index(soundfont_bank)
134
 
135
  else:
136
  sf2bank = 0
 
129
  f.write(fdata)
130
  f.close()
131
 
132
+ if soundfont_bank in ["General MIDI", "Nice strings plus orchestra", "Real choir", "Super Game Boy"]:
133
+ sf2bank = ["General MIDI", "Nice strings plus orchestra", "Real choir", "Super Game Boy"].index(soundfont_bank)
134
 
135
  else:
136
  sf2bank = 0