asigalov61 commited on
Commit
787a51f
·
verified ·
1 Parent(s): 5f91162

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -355,12 +355,12 @@ def Convert_Score_to_Performance(input_midi,
355
  print('Rendering results...')
356
 
357
  print('=' * 70)
358
- print('Sample INTs', song[:15])
359
  print('=' * 70)
360
 
361
  song_f = []
362
 
363
- if len(song) != 0:
364
 
365
  time = 0
366
  dur = 0
@@ -371,7 +371,7 @@ def Convert_Score_to_Performance(input_midi,
371
 
372
  patches = [0] * 16
373
 
374
- for ss in song[602:]:
375
 
376
  if 0 <= ss < 256:
377
 
 
355
  print('Rendering results...')
356
 
357
  print('=' * 70)
358
+ print('Sample INTs', final_song[:15])
359
  print('=' * 70)
360
 
361
  song_f = []
362
 
363
+ if len(final_song) != 0:
364
 
365
  time = 0
366
  dur = 0
 
371
 
372
  patches = [0] * 16
373
 
374
+ for ss in final_song:
375
 
376
  if 0 <= ss < 256:
377