chansung commited on
Commit
d30c446
1 Parent(s): cc9f713

Update interfaces/story_gen_ui.py

Browse files
Files changed (1) hide show
  1. interfaces/story_gen_ui.py +1 -1
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=60)
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 (