diff options
author | me <25877290+Kryptortio@users.noreply.github.com> | 2023-01-05 07:27:09 +0000 |
---|---|---|
committer | me <25877290+Kryptortio@users.noreply.github.com> | 2023-01-05 07:27:09 +0000 |
commit | c3109fa18a5a105eea5e343875b540939884f304 (patch) | |
tree | 418d5c6dc346c206795eabda5c8c1f867c2d6ac1 /scripts/prompts_from_file.py | |
parent | 5851bc839b6f639cda59e84eb1ee8c706986633d (diff) | |
download | stable-diffusion-webui-gfx803-c3109fa18a5a105eea5e343875b540939884f304.tar.gz stable-diffusion-webui-gfx803-c3109fa18a5a105eea5e343875b540939884f304.tar.bz2 stable-diffusion-webui-gfx803-c3109fa18a5a105eea5e343875b540939884f304.zip |
Adjusted prefix from i2i/t2i to txt2img and img2img and removed those prefixes from img exclusive scripts
Diffstat (limited to 'scripts/prompts_from_file.py')
-rw-r--r-- | scripts/prompts_from_file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prompts_from_file.py b/scripts/prompts_from_file.py index fc8ddd8a..c6a0b709 100644 --- a/scripts/prompts_from_file.py +++ b/scripts/prompts_from_file.py @@ -112,7 +112,7 @@ class Script(scripts.Script): return "Prompts from file or textbox"
def ui(self, is_img2img):
- elem_prefix = ('i2i' if is_img2img else 't2i') + '_script_prompt_from_file_'
+ elem_prefix = ('img2img' if is_img2img else 'txt2txt') + '_script_prompt_from_file_'
checkbox_iterate = gr.Checkbox(label="Iterate seed every line", value=False, elem_id=elem_prefix + "checkbox_iterate")
checkbox_iterate_batch = gr.Checkbox(label="Use same random seed for all lines", value=False, elem_id=elem_prefix + "checkbox_iterate_batch")
|