asigalov61 commited on
Commit
0f79926
1 Parent(s): a533666

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -254,7 +254,7 @@ def GenerateAccompaniment(input_midi, input_num_tokens, input_conditioning_type,
254
 
255
  idx += 1
256
 
257
- if idx == len(chords[:input_num_tokens]):
258
  break
259
 
260
  print('=' * 70)
 
254
 
255
  idx += 1
256
 
257
+ if idx == len(chords[:input_num_tokens])-1:
258
  break
259
 
260
  print('=' * 70)