yyk19 commited on
Commit
43a1326
1 Parent(s): 98333ba

modify the default value in demo.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -166,7 +166,7 @@ with block:
166
 
167
  with gr.Accordion("Shared Advanced Options", open=False):
168
  with gr.Row():
169
- shared_num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=1)
170
  shared_image_resolution = gr.Slider(label="Image Resolution", minimum=256, maximum=768, value=512, step=64, visible=False)
171
  shared_strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01, visible=False)
172
  shared_guess_mode = gr.Checkbox(label='Guess Mode', value=False, visible=False)
 
166
 
167
  with gr.Accordion("Shared Advanced Options", open=False):
168
  with gr.Row():
169
+ shared_num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=3, step=1)
170
  shared_image_resolution = gr.Slider(label="Image Resolution", minimum=256, maximum=768, value=512, step=64, visible=False)
171
  shared_strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01, visible=False)
172
  shared_guess_mode = gr.Checkbox(label='Guess Mode', value=False, visible=False)