projectlosangeles commited on
Commit
e393843
·
verified ·
1 Parent(s): d176b78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -253,7 +253,7 @@ def Segment_Song(input_midi,
253
 
254
  #==================================================================
255
 
256
- if not segments:
257
  segments = [TMIDIX.flatten(chords)]
258
 
259
  #==================================================================
 
253
 
254
  #==================================================================
255
 
256
+ if len(segments) < 2:
257
  segments = [TMIDIX.flatten(chords)]
258
 
259
  #==================================================================