Update app.py
Browse files
app.py
CHANGED
|
@@ -256,6 +256,9 @@ def GenerateAccompaniment(input_midi, input_num_tokens, input_conditioning_type,
|
|
| 256 |
|
| 257 |
idx += 1
|
| 258 |
|
|
|
|
|
|
|
|
|
|
| 259 |
print('=' * 70)
|
| 260 |
print('Done!')
|
| 261 |
print('=' * 70)
|
|
|
|
| 256 |
|
| 257 |
idx += 1
|
| 258 |
|
| 259 |
+
if idx == len(chords[:input_num_tokens]):
|
| 260 |
+
break
|
| 261 |
+
|
| 262 |
print('=' * 70)
|
| 263 |
print('Done!')
|
| 264 |
print('=' * 70)
|