asigalov61 commited on
Commit
64d7f46
·
verified ·
1 Parent(s): 5078922

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 == 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]:]
 
288
 
289
  for j in range(loops_mult):
290
 
291
+ if j == loops_mult-1 and not (i == len(song_scores)-1 and 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]:]