Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -204,7 +204,7 @@ def Generate_Chords_Textures(input_midi,
|
|
| 204 |
|
| 205 |
seq = [705] + chords[:128] + [706] + score[:3]
|
| 206 |
|
| 207 |
-
x = torch.LongTensor().cuda(
|
| 208 |
|
| 209 |
with ctx:
|
| 210 |
out = model.generate(x,
|
|
|
|
| 204 |
|
| 205 |
seq = [705] + chords[:128] + [706] + score[:3]
|
| 206 |
|
| 207 |
+
x = torch.LongTensor(seq).cuda()
|
| 208 |
|
| 209 |
with ctx:
|
| 210 |
out = model.generate(x,
|