aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-16 09:47:03 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-16 09:47:03 +0300
commit87e8b9a2ab3f033e7fdadbb2fe258857915980ac (patch)
tree45d322f4d363f56fb5eccdccd27bbd9d4e0ce568 /modules/shared.py
parent9d40212485febe05a662dd0346e6def83e456288 (diff)
prevent replacing torch_randn globally (instead replacing k_diffusion.sampling.torch) and add a setting to disable this all
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py
index bc39ad1c..ac870ec4 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -124,7 +124,8 @@ class Options:
"add_model_hash_to_info": OptionInfo(False, "Add model hash to generation information"),
"img2img_color_correction": OptionInfo(False, "Apply color correction to img2img results to match original colors."),
"font": OptionInfo("", "Font for image grids that have text"),
- "enable_emphasis": OptionInfo(True, "Use (text) to make model pay more attention to text text and [text] to make it pay less attention"),
+ "enable_emphasis": OptionInfo(True, "Use (text) to make model pay more attention to text and [text] to make it pay less attention"),
+ "enable_batch_seeds": OptionInfo(True, "Make K-diffusion samplers produce same images in a batch as when making a single image"),
"save_txt": OptionInfo(False, "Create a text file next to every image with generation parameters."),
"ESRGAN_tile": OptionInfo(192, "Tile size for upscaling. 0 = no tiling.", gr.Slider, {"minimum": 0, "maximum": 512, "step": 16}),
"ESRGAN_tile_overlap": OptionInfo(8, "Tile overlap, in pixels for upscaling. Low values = visible seam.", gr.Slider, {"minimum": 0, "maximum": 48, "step": 1}),