Spaces:
Build error
Build error
Update interfaces/story_gen_ui.py
Browse files
interfaces/story_gen_ui.py
CHANGED
@@ -405,7 +405,7 @@ def audio_gen(
|
|
405 |
raise ValueError("Failed to generate prompt for background music.")
|
406 |
|
407 |
# generate music
|
408 |
-
bgm_filename = bgm_maker.text2music(prompt, length=
|
409 |
cursors[cur_cursor]["audio"] = bgm_filename
|
410 |
|
411 |
return (
|
|
|
405 |
raise ValueError("Failed to generate prompt for background music.")
|
406 |
|
407 |
# generate music
|
408 |
+
bgm_filename = bgm_maker.text2music(prompt, length=30)
|
409 |
cursors[cur_cursor]["audio"] = bgm_filename
|
410 |
|
411 |
return (
|