Spaces:
Runtime error
Runtime error
asigalov61
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -256,7 +256,7 @@ def GenerateAccompaniment(input_midi, input_num_tokens, input_conditioning_type,
|
|
256 |
|
257 |
idx += 1
|
258 |
|
259 |
-
if idx == len(chords[:input_num_tokens]):
|
260 |
break
|
261 |
|
262 |
print('=' * 70)
|
|
|
256 |
|
257 |
idx += 1
|
258 |
|
259 |
+
if idx == len(chords[:input_num_tokens])-1:
|
260 |
break
|
261 |
|
262 |
print('=' * 70)
|