asigalov61 commited on
Commit
0c144a6
·
verified ·
1 Parent(s): ff96267

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ def render_midi(input_midi, render_options):
105
  patches = [0] * 16
106
  channels = [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15]
107
 
108
- score_patches = sorted(set([e[6] for e in output_score])
109
 
110
  for channel, patch in enumerate(channels[:len(score_patches)]):
111
  patches[patch] = score_patches[channel]
 
105
  patches = [0] * 16
106
  channels = [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15]
107
 
108
+ score_patches = sorted(set([e[6] for e in output_score]))
109
 
110
  for channel, patch in enumerate(channels[:len(score_patches)]):
111
  patches[patch] = score_patches[channel]