Spaces:
Runtime error
Runtime error
asigalov61
commited on
Commit
•
a533666
1
Parent(s):
4e30bd2
Update app.py
Browse files
app.py
CHANGED
@@ -248,7 +248,7 @@ def GenerateAccompaniment(input_midi, input_num_tokens, input_conditioning_type,
|
|
248 |
if o < 384:
|
249 |
x = torch.cat((x, out), 1)
|
250 |
|
251 |
-
outy = x.tolist()[0][len(
|
252 |
|
253 |
output.extend(outy)
|
254 |
|
|
|
248 |
if o < 384:
|
249 |
x = torch.cat((x, out), 1)
|
250 |
|
251 |
+
outy = x.tolist()[0][len(output):]
|
252 |
|
253 |
output.extend(outy)
|
254 |
|