aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-03-11 16:34:34 +0300
committerGitHub <noreply@github.com>2023-03-11 16:34:34 +0300
commitb9fd9c81de20bf5c95823fccbbb6b7996594a3a9 (patch)
tree236360d8ddca3fb499d0c8449874f4a18c656f72
parent52dcf0f0c70f1edc4a04ef7bc905528fbc6cdbec (diff)
parentb0f2653541219486c8b8cbdbf8ce80caf3f62ef8 (diff)
Merge pull request #7963 from xSinStarx/patch-1
Bug Fix: Fixes img2img Negative Token Counter
-rw-r--r--modules/ui.py2
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)