Merge pull request #7963 from xSinStarx/patch-1

Bug Fix: Fixes img2img Negative Token Counter
This commit is contained in:
AUTOMATIC1111 2023-03-11 16:34:34 +03:00 committed by GitHub
commit b9fd9c81de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)