Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -229,11 +229,11 @@ def run_for_examples(face_file, pose_file, prompt, style, negative_prompt):
|
|
| 229 |
style,
|
| 230 |
20, # num_steps
|
| 231 |
0.8, # identitynet_strength_ratio
|
| 232 |
-
0.
|
| 233 |
#0.4, # pose_strength
|
| 234 |
-
0.
|
| 235 |
-
0.
|
| 236 |
-
[
|
| 237 |
5.0, # guidance_scale
|
| 238 |
42, # seed
|
| 239 |
"EulerDiscreteScheduler", # scheduler
|
|
@@ -505,7 +505,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 505 |
minimum=0,
|
| 506 |
maximum=1.5,
|
| 507 |
step=0.05,
|
| 508 |
-
value=0.
|
| 509 |
)
|
| 510 |
negative_prompt = gr.Textbox(
|
| 511 |
label="Negative Prompt",
|
|
|
|
| 229 |
style,
|
| 230 |
20, # num_steps
|
| 231 |
0.8, # identitynet_strength_ratio
|
| 232 |
+
0.4, # adapter_strength_ratio
|
| 233 |
#0.4, # pose_strength
|
| 234 |
+
0.0, # canny_strength
|
| 235 |
+
0.0, # depth_strength
|
| 236 |
+
[], # controlnet_selection
|
| 237 |
5.0, # guidance_scale
|
| 238 |
42, # seed
|
| 239 |
"EulerDiscreteScheduler", # scheduler
|
|
|
|
| 505 |
minimum=0,
|
| 506 |
maximum=1.5,
|
| 507 |
step=0.05,
|
| 508 |
+
value=0.40,
|
| 509 |
)
|
| 510 |
negative_prompt = gr.Textbox(
|
| 511 |
label="Negative Prompt",
|