asigalov61 commited on
Commit
9ed8a3e
·
verified ·
1 Parent(s): d2cf9af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -288,7 +288,7 @@ def Mix_Loops(max_num_loops,
288
 
289
  for j in range(loops_mult):
290
 
291
- if j > 0:
292
 
293
  if i > 0:
294
  last_chord = score[[e for e in range(len(score)) if score[e][0] > 0][-1]:]
 
288
 
289
  for j in range(loops_mult):
290
 
291
+ if j == loops_mult-1:
292
 
293
  if i > 0:
294
  last_chord = score[[e for e in range(len(score)) if score[e][0] > 0][-1]:]