Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Update app.py
Browse files
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]
|