Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -144,7 +144,7 @@ def GenerateAccompaniment(input_midi, input_num_tokens, input_conditioning_type,
|
|
144 |
|
145 |
melody_chords.extend([chord_token+384])
|
146 |
|
147 |
-
if
|
148 |
if len(tones_chord) > 1:
|
149 |
chords.extend([chord_token+384])
|
150 |
|
|
|
144 |
|
145 |
melody_chords.extend([chord_token+384])
|
146 |
|
147 |
+
if input_strip_notes:
|
148 |
if len(tones_chord) > 1:
|
149 |
chords.extend([chord_token+384])
|
150 |
|