P01yH3dr0n commited on
Commit
5a09a99
1 Parent(s): b3cf1cf
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -57,7 +57,7 @@ def generate_novelai_image(
57
  dyn=False,
58
  dyn_threshold=False,
59
  cfg_rescale=0,
60
- variety=None,
61
  ref_images=None,
62
  info_extracts=[],
63
  ref_strs=[],
@@ -99,7 +99,7 @@ def generate_novelai_image(
99
  "reference_information_extracted_multiple": info_extracts,
100
  "reference_strength_multiple": ref_strs,
101
  "seed": seed,
102
- "skip_cfg_above_sigma": None if variety is None else 19,
103
  "sm": smea,
104
  "sm_dyn": dyn,
105
  "uncond_scale": 1,
 
57
  dyn=False,
58
  dyn_threshold=False,
59
  cfg_rescale=0,
60
+ variety=False,
61
  ref_images=None,
62
  info_extracts=[],
63
  ref_strs=[],
 
99
  "reference_information_extracted_multiple": info_extracts,
100
  "reference_strength_multiple": ref_strs,
101
  "seed": seed,
102
+ "skip_cfg_above_sigma": 19 if variety else None,
103
  "sm": smea,
104
  "sm_dyn": dyn,
105
  "uncond_scale": 1,