Spaces:
Runtime error
Runtime error
asigalov61
commited on
Commit
•
0f79926
1
Parent(s):
a533666
Update app.py
Browse files
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)
|