Spaces:
Sleeping
Sleeping
Fixed the audio length to 30 seconds
Browse files
app.py
CHANGED
@@ -24,6 +24,8 @@ def gen_music(description):
|
|
24 |
# Set up text and timing conditioning
|
25 |
conditioning = [{
|
26 |
"prompt": f"{description}",
|
|
|
|
|
27 |
}]
|
28 |
|
29 |
# Generate stereo audio
|
|
|
24 |
# Set up text and timing conditioning
|
25 |
conditioning = [{
|
26 |
"prompt": f"{description}",
|
27 |
+
"seconds_start": 0,
|
28 |
+
"seconds_total": 30
|
29 |
}]
|
30 |
|
31 |
# Generate stereo audio
|