multimodalart HF Staff commited on
Commit
4bae723
·
verified ·
1 Parent(s): ddaf8f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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.8, # adapter_strength_ratio
233
  #0.4, # pose_strength
234
- 0.3, # canny_strength
235
- 0.5, # depth_strength
236
- ["depth", "canny"], # controlnet_selection
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.80,
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",