diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-03-11 13:34:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 13:34:34 +0000 |
commit | b9fd9c81de20bf5c95823fccbbb6b7996594a3a9 (patch) | |
tree | 236360d8ddca3fb499d0c8449874f4a18c656f72 | |
parent | 52dcf0f0c70f1edc4a04ef7bc905528fbc6cdbec (diff) | |
parent | b0f2653541219486c8b8cbdbf8ce80caf3f62ef8 (diff) | |
download | stable-diffusion-webui-gfx803-b9fd9c81de20bf5c95823fccbbb6b7996594a3a9.tar.gz stable-diffusion-webui-gfx803-b9fd9c81de20bf5c95823fccbbb6b7996594a3a9.tar.bz2 stable-diffusion-webui-gfx803-b9fd9c81de20bf5c95823fccbbb6b7996594a3a9.zip |
Merge pull request #7963 from xSinStarx/patch-1
Bug Fix: Fixes img2img Negative Token Counter
-rw-r--r-- | modules/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py index 3614da45..621ae952 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -939,7 +939,7 @@ def create_ui(): )
token_button.click(fn=update_token_counter, inputs=[img2img_prompt, steps], outputs=[token_counter])
- negative_token_button.click(fn=wrap_queued_call(update_token_counter), inputs=[txt2img_negative_prompt, steps], outputs=[negative_token_counter])
+ negative_token_button.click(fn=wrap_queued_call(update_token_counter), inputs=[img2img_negative_prompt, steps], outputs=[negative_token_counter])
ui_extra_networks.setup_ui(extra_networks_ui_img2img, img2img_gallery)
|