aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimntorres <timothynarcisotorres@gmail.com>2022-10-25 06:48:05 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-26 07:12:46 +0000
commita524d137d0a89bb19a6676dc9b8fbb5d1b580678 (patch)
tree8c58b14be14be5e1cee6808b66d771e46a3c75c6
parentcb49800c08a9f6619733250401952e5571dc12f8 (diff)
downloadstable-diffusion-webui-gfx803-a524d137d0a89bb19a6676dc9b8fbb5d1b580678.tar.gz
stable-diffusion-webui-gfx803-a524d137d0a89bb19a6676dc9b8fbb5d1b580678.tar.bz2
stable-diffusion-webui-gfx803-a524d137d0a89bb19a6676dc9b8fbb5d1b580678.zip
patch bug (SeverianVoid's comment on 5245c7a)
-rw-r--r--modules/hypernetworks/hypernetwork.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hypernetworks/hypernetwork.py b/modules/hypernetworks/hypernetwork.py
index 842b6447..8113b35b 100644
--- a/modules/hypernetworks/hypernetwork.py
+++ b/modules/hypernetworks/hypernetwork.py
@@ -487,7 +487,7 @@ def train_hypernetwork(hypernetwork_name, learn_rate, batch_size, data_root, log
if image is not None:
shared.state.current_image = image
- last_saved_image, last_text_info = images.save_image(image, images_dir, "", p.seed, p.prompt, shared.opts.samples_format, processed.infotexts[0], p=p, forced_filename=forced_filename)
+ last_saved_image, last_text_info = images.save_image(image, images_dir, "", p.seed, p.prompt, shared.opts.samples_format, processed.infotexts[0], p=p, forced_filename=forced_filename, save_to_dirs=False)
last_saved_image += f", prompt: {preview_text}"
shared.state.job_no = hypernetwork.step