asigalov61 commited on
Commit
0800621
1 Parent(s): e9fc459

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,7 +146,7 @@ def GenerateMIDI(progress=gr.Progress()):
146
 
147
  while itrack < len(opus):
148
  for event in opus[itrack]:
149
- if event[0] == 'note_on' or event[0] == 'note_off':
150
  output1.append(event)
151
  itrack += 1
152
 
 
146
 
147
  while itrack < len(opus):
148
  for event in opus[itrack]:
149
+ if (event[0] == 'note_on') or (event[0] == 'note_off'):
150
  output1.append(event)
151
  itrack += 1
152