Skip to content

Commit

Permalink
Update run_gradio_demo.py
Browse files Browse the repository at this point in the history
default no mask refine
  • Loading branch information
XavierCHEN34 committed Jan 2, 2024
1 parent ddcfbaf commit d7d3d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_gradio_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def run_local(base,
ddim_steps = gr.Slider(label="Steps", minimum=1, maximum=100, value=30, step=1)
scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=30.0, value=4.5, step=0.1)
seed = gr.Slider(label="Seed", minimum=-1, maximum=999999999, step=1, value=-1)
reference_mask_refine = gr.Checkbox(label='Reference Mask Refine', value=True, interactive = True)
reference_mask_refine = gr.Checkbox(label='Reference Mask Refine', value=False, interactive = True)
enable_shape_control = gr.Checkbox(label='Enable Shape Control', value=False, interactive = True)

gr.Markdown("### Guidelines")
Expand Down Expand Up @@ -311,4 +311,4 @@ def run_local(base,
outputs=[baseline_gallery]
)

demo.launch(server_name="0.0.0.0")
demo.launch(server_name="0.0.0.0")

0 comments on commit d7d3d75

Please sign in to comment.