zhiweili
commited on
Commit
·
8d67bb5
1
Parent(s):
ad3284c
change default value
Browse files- app_base.py +3 -3
app_base.py
CHANGED
@@ -95,11 +95,11 @@ def create_demo() -> gr.Blocks:
|
|
95 |
upscale_prompt = gr.Textbox(lines=1, label="Upscale Prompt", value="a person with pefect face")
|
96 |
pre_upscale_steps = gr.Number(label="Pre Upscale Steps", value=10)
|
97 |
with gr.Column():
|
98 |
-
num_steps = gr.Slider(minimum=1, maximum=100, value=
|
99 |
-
start_step = gr.Slider(minimum=1, maximum=100, value=
|
100 |
with gr.Accordion("Advanced Options", open=False):
|
101 |
guidance_scale = gr.Slider(minimum=0, maximum=20, value=0, step=0.5, label="Guidance Scale")
|
102 |
-
generate_size = gr.Number(label="Generate Size", value=
|
103 |
mask_expansion = gr.Number(label="Mask Expansion", value=50, visible=True)
|
104 |
mask_dilation = gr.Slider(minimum=0, maximum=10, value=2, step=1, label="Mask Dilation")
|
105 |
with gr.Column():
|
|
|
95 |
upscale_prompt = gr.Textbox(lines=1, label="Upscale Prompt", value="a person with pefect face")
|
96 |
pre_upscale_steps = gr.Number(label="Pre Upscale Steps", value=10)
|
97 |
with gr.Column():
|
98 |
+
num_steps = gr.Slider(minimum=1, maximum=100, value=20, step=1, label="Num Steps")
|
99 |
+
start_step = gr.Slider(minimum=1, maximum=100, value=15, step=1, label="Start Step")
|
100 |
with gr.Accordion("Advanced Options", open=False):
|
101 |
guidance_scale = gr.Slider(minimum=0, maximum=20, value=0, step=0.5, label="Guidance Scale")
|
102 |
+
generate_size = gr.Number(label="Generate Size", value=1024)
|
103 |
mask_expansion = gr.Number(label="Mask Expansion", value=50, visible=True)
|
104 |
mask_dilation = gr.Slider(minimum=0, maximum=10, value=2, step=1, label="Mask Dilation")
|
105 |
with gr.Column():
|