asigalov61 commited on
Commit
6435eef
1 Parent(s): ff06030

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -42,6 +42,8 @@ def mix_chord(chord, tones_chord, mel_patch, mel_pitch):
42
 
43
  tclen = len(tones_chord)
44
 
 
 
45
  if len(cg) > tclen:
46
  tchord = tones_chord + [random.choice(tones_chord) for _ in range(len(cg)-tclen)]
47
 
 
42
 
43
  tclen = len(tones_chord)
44
 
45
+ tchord = tones_chord
46
+
47
  if len(cg) > tclen:
48
  tchord = tones_chord + [random.choice(tones_chord) for _ in range(len(cg)-tclen)]
49