Spaces:
Paused
Paused
Commit
•
ea82bd6
1
Parent(s):
47008d1
Update app.py
Browse files
app.py
CHANGED
@@ -526,7 +526,7 @@ with gr.Blocks(css=css) as demo:
|
|
526 |
)
|
527 |
with gr.Accordion("Controlnet"):
|
528 |
controlnet_selection = gr.CheckboxGroup(
|
529 |
-
["pose", "canny", "depth"], label="Controlnet", value=["pose"],
|
530 |
info="Use pose for skeleton inference, canny for edge detection, and depth for depth map estimation. You can try all three to control the generation process"
|
531 |
)
|
532 |
pose_strength = gr.Slider(
|
@@ -534,7 +534,7 @@ with gr.Blocks(css=css) as demo:
|
|
534 |
minimum=0,
|
535 |
maximum=1.5,
|
536 |
step=0.05,
|
537 |
-
value=0
|
538 |
)
|
539 |
canny_strength = gr.Slider(
|
540 |
label="Canny strength",
|
@@ -559,7 +559,7 @@ with gr.Blocks(css=css) as demo:
|
|
559 |
num_steps = gr.Slider(
|
560 |
label="Number of sample steps",
|
561 |
minimum=1,
|
562 |
-
maximum=
|
563 |
step=1,
|
564 |
value=5 if enable_lcm_arg else 30,
|
565 |
)
|
|
|
526 |
)
|
527 |
with gr.Accordion("Controlnet"):
|
528 |
controlnet_selection = gr.CheckboxGroup(
|
529 |
+
["pose", "canny", "depth"], label="Controlnet", value=["pose", "canny"],
|
530 |
info="Use pose for skeleton inference, canny for edge detection, and depth for depth map estimation. You can try all three to control the generation process"
|
531 |
)
|
532 |
pose_strength = gr.Slider(
|
|
|
534 |
minimum=0,
|
535 |
maximum=1.5,
|
536 |
step=0.05,
|
537 |
+
value=1.0,
|
538 |
)
|
539 |
canny_strength = gr.Slider(
|
540 |
label="Canny strength",
|
|
|
559 |
num_steps = gr.Slider(
|
560 |
label="Number of sample steps",
|
561 |
minimum=1,
|
562 |
+
maximum=80,
|
563 |
step=1,
|
564 |
value=5 if enable_lcm_arg else 30,
|
565 |
)
|