fffiloni commited on
Commit
157ea0f
1 Parent(s): 500f006

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,14 +31,14 @@ def get_instantID(portrait_in, condition_pose, prompt, style):
31
  prompt, # str in 'Prompt' Textbox component
32
  negative_prompt, # str in 'Negative Prompt' Textbox component
33
  style, # Literal['(No style)', 'Spring Festival', 'Watercolor', 'Film Noir', 'Neon', 'Jungle', 'Mars', 'Vibrant Color', 'Snow', 'Line art'] in 'Style template' Dropdown component
34
- 20, # float (numeric value between 1 and 100) in 'Number of sample steps' Slider component
35
  0.8, # float (numeric value between 0 and 1.5) in 'IdentityNet strength (for fidelity)' Slider component
36
  0.8, # float (numeric value between 0 and 1.5) in 'Image adapter strength (for detail)' Slider component
37
  0.4, # float (numeric value between 0 and 1.5) in 'Pose strength' Slider component
38
  0.4, # float (numeric value between 0 and 1.5) in 'Canny strength' Slider component
39
  0.4, # float (numeric value between 0 and 1.5) in 'Depth strength' Slider component
40
  ["pose"], # List[Literal['pose', 'canny', 'depth']] in 'Controlnet' Checkboxgroup component
41
- 5, # float (numeric value between 0.1 and 20.0) in 'Guidance scale' Slider component
42
  seed, # float (numeric value between 0 and 2147483647) in 'Seed' Slider component
43
  "EulerDiscreteScheduler", # Literal['DEISMultistepScheduler', 'HeunDiscreteScheduler', 'EulerDiscreteScheduler', 'DPMSolverMultistepScheduler', 'DPMSolverMultistepScheduler-Karras', 'DPMSolverMultistepScheduler-Karras-SDE'] in 'Schedulers' Dropdown component
44
  True, # bool in 'Enable Fast Inference with LCM' Checkbox component
 
31
  prompt, # str in 'Prompt' Textbox component
32
  negative_prompt, # str in 'Negative Prompt' Textbox component
33
  style, # Literal['(No style)', 'Spring Festival', 'Watercolor', 'Film Noir', 'Neon', 'Jungle', 'Mars', 'Vibrant Color', 'Snow', 'Line art'] in 'Style template' Dropdown component
34
+ 5, # float (numeric value between 1 and 100) in 'Number of sample steps' Slider component
35
  0.8, # float (numeric value between 0 and 1.5) in 'IdentityNet strength (for fidelity)' Slider component
36
  0.8, # float (numeric value between 0 and 1.5) in 'Image adapter strength (for detail)' Slider component
37
  0.4, # float (numeric value between 0 and 1.5) in 'Pose strength' Slider component
38
  0.4, # float (numeric value between 0 and 1.5) in 'Canny strength' Slider component
39
  0.4, # float (numeric value between 0 and 1.5) in 'Depth strength' Slider component
40
  ["pose"], # List[Literal['pose', 'canny', 'depth']] in 'Controlnet' Checkboxgroup component
41
+ &.5, # float (numeric value between 0.1 and 20.0) in 'Guidance scale' Slider component
42
  seed, # float (numeric value between 0 and 2147483647) in 'Seed' Slider component
43
  "EulerDiscreteScheduler", # Literal['DEISMultistepScheduler', 'HeunDiscreteScheduler', 'EulerDiscreteScheduler', 'DPMSolverMultistepScheduler', 'DPMSolverMultistepScheduler-Karras', 'DPMSolverMultistepScheduler-Karras-SDE'] in 'Schedulers' Dropdown component
44
  True, # bool in 'Enable Fast Inference with LCM' Checkbox component