abreza commited on
Commit
e9b58ad
1 Parent(s): 6e2d18a

refactor: update story_generation_ui to improve user interface

Browse files
Files changed (1) hide show
  1. launch/story_generator.py +1 -1
launch/story_generator.py CHANGED
@@ -566,7 +566,7 @@ def story_generation_ui():
566
  label="Style template", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
567
  prompt_array = gr.Textbox(
568
  lines=3, value='', label="(3) Comic Description (each line corresponds to a frame).", interactive=True)
569
- with gr.Accordion("(4) Tune the hyperparameters", open=True):
570
  sa32_ = gr.Slider(label="(The degree of Paired Attention at 32 x 32 self-attention layers)",
571
  minimum=0, maximum=1., value=0.7, step=0.1)
572
  sa64_ = gr.Slider(label="(The degree of Paired Attention at 64 x 64 self-attention layers)",
 
566
  label="Style template", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
567
  prompt_array = gr.Textbox(
568
  lines=3, value='', label="(3) Comic Description (each line corresponds to a frame).", interactive=True)
569
+ with gr.Accordion("(4) Tune the hyperparameters", open=False):
570
  sa32_ = gr.Slider(label="(The degree of Paired Attention at 32 x 32 self-attention layers)",
571
  minimum=0, maximum=1., value=0.7, step=0.1)
572
  sa64_ = gr.Slider(label="(The degree of Paired Attention at 64 x 64 self-attention layers)",