Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,8 @@ def infer(prompt_in, chords, duration, bpms):
|
|
81 |
musicgen.set_generation_params(duration=duration, extend_stride=duration//2, top_k = 250)
|
82 |
|
83 |
|
84 |
-
chords = [chords]
|
|
|
85 |
|
86 |
descriptions = [prompt_in] * num_samples
|
87 |
|
|
|
81 |
musicgen.set_generation_params(duration=duration, extend_stride=duration//2, top_k = 250)
|
82 |
|
83 |
|
84 |
+
# chords = [chords]
|
85 |
+
chords = ['C G A:min F', 'A:min F C G', 'C F G F']
|
86 |
|
87 |
descriptions = [prompt_in] * num_samples
|
88 |
|