diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-14 08:08:36 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-14 08:08:36 +0000 |
commit | 928b246c9ebd0400085da459b002bd751f2f139a (patch) | |
tree | c3d9ebad5a87821afaed3b1aacfc71dcef5f3ba0 /scripts/img2imgalt.py | |
parent | 6bea45d495710fa30d0b024a9dbceaaee1d02ac6 (diff) | |
download | stable-diffusion-webui-gfx803-928b246c9ebd0400085da459b002bd751f2f139a.tar.gz stable-diffusion-webui-gfx803-928b246c9ebd0400085da459b002bd751f2f139a.tar.bz2 stable-diffusion-webui-gfx803-928b246c9ebd0400085da459b002bd751f2f139a.zip |
[FEATURE REQUEST] Script settings should also be written to the text files #437
Diffstat (limited to 'scripts/img2imgalt.py')
-rw-r--r-- | scripts/img2imgalt.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/img2imgalt.py b/scripts/img2imgalt.py index 16a2fdf6..8ff4c210 100644 --- a/scripts/img2imgalt.py +++ b/scripts/img2imgalt.py @@ -98,6 +98,12 @@ class Script(scripts.Script): p.sample = sample_extra
+ p.extra_generation_params = {
+ "Decode prompt": original_prompt,
+ "Decode CFG scale": cfg,
+ "Decode steps": st,
+ }
+
processed = processing.process_images(p)
return processed
|