asigalov61 commited on
Commit
f99d194
·
verified ·
1 Parent(s): be23228

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -414,7 +414,7 @@ def CompareMIDIs(input_src_midi, input_trg_midi, input_sampling_resolution, inpu
414
  inp = torch.LongTensor(inp).cuda()
415
 
416
  with ctx:
417
- with torch.no_grad()
418
  out = model(inp)
419
 
420
  cache = out[2]
 
414
  inp = torch.LongTensor(inp).cuda()
415
 
416
  with ctx:
417
+ with torch.no_grad():
418
  out = model(inp)
419
 
420
  cache = out[2]