Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -216,9 +216,7 @@ def GenerateAccompaniment(input_midi, input_num_tokens, input_conditioning_type)
|
|
216 |
idx = 0
|
217 |
|
218 |
for c in chords[:input_num_tokens]:
|
219 |
-
|
220 |
-
try:
|
221 |
-
|
222 |
output.append(c)
|
223 |
|
224 |
if input_conditioning_type == 'Chords-Times' or input_conditioning_type == 'Chords-Times-Durations':
|
|
|
216 |
idx = 0
|
217 |
|
218 |
for c in chords[:input_num_tokens]:
|
219 |
+
|
|
|
|
|
220 |
output.append(c)
|
221 |
|
222 |
if input_conditioning_type == 'Chords-Times' or input_conditioning_type == 'Chords-Times-Durations':
|