aboutsummaryrefslogtreecommitdiff
path: root/modules/txt2img.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2024-01-13 02:20:06 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2024-01-14 17:56:34 +0900
commit92501d4f8006866cec3438c038e1588315d835bc (patch)
treed1a9d131b4e98cfddd960c29a3ceef0a9283ac25 /modules/txt2img.py
parentcb5b335acddd126d4f6c990982816c06beb0d6ae (diff)
disable saving images before highres fix
Diffstat (limited to 'modules/txt2img.py')
-rw-r--r--modules/txt2img.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/txt2img.py b/modules/txt2img.py
index d22a1f31..11558785 100644
--- a/modules/txt2img.py
+++ b/modules/txt2img.py
@@ -77,7 +77,7 @@ def txt2img_upscale(id_task: str, request: gr.Request, gallery, gallery_index, g
subseed = all_subseeds[-gallery_index_from_end if gallery_index_from_end < len(all_seeds) + 1 else 0]
p.seed = seed
p.subseed = subseed
-
+ p.override_settings['save_images_before_highres_fix'] = False
with closing(p):
processed = modules.scripts.scripts_txt2img.run(p, *p.script_args)