asigalov61 commited on
Commit
e30152c
·
verified ·
1 Parent(s): 1b82c07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -411,7 +411,7 @@ def CompareMIDIs(input_src_midi, input_trg_midi, input_sampling_resolution, inpu
411
 
412
  comp_cos_sims = []
413
 
414
- for i in range(0, comp_length, max(0, sampling_resolution-sampling_overlap)):
415
 
416
  torch.cuda.empty_cache()
417
 
 
411
 
412
  comp_cos_sims = []
413
 
414
+ for i in range(0, comp_length, max(1, sampling_resolution-sampling_overlap)):
415
 
416
  torch.cuda.empty_cache()
417