diff options
author | S-Del <s-del.pg@protonmail.com> | 2023-08-18 13:32:20 +0000 |
---|---|---|
committer | S-Del <s-del.pg@protonmail.com> | 2023-08-18 13:32:20 +0000 |
commit | 64d5fa1efd94d98ee6c97d31e85e294107b730ec (patch) | |
tree | eb72498e5a06b75472c7766c381c473983d15e6e /modules | |
parent | 68f336bd994bed5442ad95bad6b6ad5564a5409a (diff) | |
download | stable-diffusion-webui-gfx803-64d5fa1efd94d98ee6c97d31e85e294107b730ec.tar.gz stable-diffusion-webui-gfx803-64d5fa1efd94d98ee6c97d31e85e294107b730ec.tar.bz2 stable-diffusion-webui-gfx803-64d5fa1efd94d98ee6c97d31e85e294107b730ec.zip |
fix typo `txt2txt` -> `txt2img`
Diffstat (limited to 'modules')
-rw-r--r-- | modules/scripts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/scripts.py b/modules/scripts.py index 5b4edcac..0ad8113d 100644 --- a/modules/scripts.py +++ b/modules/scripts.py @@ -220,7 +220,7 @@ class Script: """helper function to generate id for a HTML element, constructs final id out of script name, tab and user-supplied item_id"""
need_tabname = self.show(True) == self.show(False)
- tabkind = 'img2img' if self.is_img2img else 'txt2txt'
+ tabkind = 'img2img' if self.is_img2img else 'txt2img'
tabname = f"{tabkind}_" if need_tabname else ""
title = re.sub(r'[^a-z_0-9]', '', re.sub(r'\s', '_', self.title().lower()))
|