diff options
author | Greg Fuller <gfuller23@gmail.com> | 2022-10-12 20:14:13 +0000 |
---|---|---|
committer | Greg Fuller <gfuller23@gmail.com> | 2022-10-12 20:14:13 +0000 |
commit | 514456101b142b47acf87f6de95bad1a23d73be7 (patch) | |
tree | 150d06fd8a363337b43771eab65ae39c54090423 /modules | |
parent | f776254b12361b5bae16f6629bcdcb47b450c48d (diff) | |
download | stable-diffusion-webui-gfx803-514456101b142b47acf87f6de95bad1a23d73be7.tar.gz stable-diffusion-webui-gfx803-514456101b142b47acf87f6de95bad1a23d73be7.tar.bz2 stable-diffusion-webui-gfx803-514456101b142b47acf87f6de95bad1a23d73be7.zip |
[3/?] [wip] fix incorrect variable reference
still needs testing
Diffstat (limited to 'modules')
-rw-r--r-- | modules/deepbooru.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/deepbooru.py b/modules/deepbooru.py index fcc05819..c2004696 100644 --- a/modules/deepbooru.py +++ b/modules/deepbooru.py @@ -164,7 +164,7 @@ def get_deepbooru_tags_from_model(model, tags, pil_image, threshold, deepbooru_o if use_escape: tag_outformat = re.sub(re_special, r'\\\1', tag_outformat) if include_ranks: - use_escape += f":{weight:.3f}" + tag_outformat += f":{weight:.3f}" result_tags_out.append(tag_outformat) |