fffiloni commited on
Commit
f37bf25
1 Parent(s): 298c252

randomize seed

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def get_instantID(portrait_in, condition_pose, prompt, style):
37
  0.4, # float (numeric value between 0 and 1.5) in 'Depth strength' Slider component
38
  ["pose"], # List[Literal['pose', 'canny', 'depth']] in 'Controlnet' Checkboxgroup component
39
  5, # float (numeric value between 0.1 and 20.0) in 'Guidance scale' Slider component
40
- 0, # float (numeric value between 0 and 2147483647) in 'Seed' Slider component
41
  "EulerDiscreteScheduler", # Literal['DEISMultistepScheduler', 'HeunDiscreteScheduler', 'EulerDiscreteScheduler', 'DPMSolverMultistepScheduler', 'DPMSolverMultistepScheduler-Karras', 'DPMSolverMultistepScheduler-Karras-SDE'] in 'Schedulers' Dropdown component
42
  True, # bool in 'Enable Fast Inference with LCM' Checkbox component
43
  True, # bool in 'Enhance non-face region' Checkbox component
 
37
  0.4, # float (numeric value between 0 and 1.5) in 'Depth strength' Slider component
38
  ["pose"], # List[Literal['pose', 'canny', 'depth']] in 'Controlnet' Checkboxgroup component
39
  5, # float (numeric value between 0.1 and 20.0) in 'Guidance scale' Slider component
40
+ seed, # float (numeric value between 0 and 2147483647) in 'Seed' Slider component
41
  "EulerDiscreteScheduler", # Literal['DEISMultistepScheduler', 'HeunDiscreteScheduler', 'EulerDiscreteScheduler', 'DPMSolverMultistepScheduler', 'DPMSolverMultistepScheduler-Karras', 'DPMSolverMultistepScheduler-Karras-SDE'] in 'Schedulers' Dropdown component
42
  True, # bool in 'Enable Fast Inference with LCM' Checkbox component
43
  True, # bool in 'Enhance non-face region' Checkbox component