asigalov61 commited on
Commit
8d92046
1 Parent(s): 932ddff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -280,7 +280,7 @@ def generate_music(prime,
280
  drum_pitch = random.choice(drums)
281
  inputs.extend([0, ((8*8)+6)+256, ((128*129)+drum_pitch)+2304])
282
 
283
- torch.cuda.empty_cache()
284
  model.cuda()
285
  model.eval()
286
 
 
280
  drum_pitch = random.choice(drums)
281
  inputs.extend([0, ((8*8)+6)+256, ((128*129)+drum_pitch)+2304])
282
 
283
+ # torch.cuda.empty_cache()
284
  model.cuda()
285
  model.eval()
286