projectlosangeles commited on
Commit
b72185e
·
verified ·
1 Parent(s): 94bdf3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(seq)
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,