aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2024-02-11 09:24:02 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2024-02-11 09:24:02 +0000
commitf6e476d7a88b4092b1384b204bb54ef1277bf21f (patch)
tree34a7131fe3920e20a025c25ac6ee0a826ae58fd3 /modules/ui.py
parentb531b0bbef7802f5691b6ffbd389cd83f94ffb12 (diff)
downloadstable-diffusion-webui-gfx803-f6e476d7a88b4092b1384b204bb54ef1277bf21f.tar.gz
stable-diffusion-webui-gfx803-f6e476d7a88b4092b1384b204bb54ef1277bf21f.tar.bz2
stable-diffusion-webui-gfx803-f6e476d7a88b4092b1384b204bb54ef1277bf21f.zip
call the right function for token counter in img2img
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 44ce9832..9e90133b 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -825,7 +825,7 @@ def create_ui():
)
toprow.token_button.click(fn=update_token_counter, inputs=[toprow.prompt, steps], outputs=[toprow.token_counter])
- toprow.negative_token_button.click(fn=wrap_queued_call(update_token_counter), inputs=[toprow.negative_prompt, steps], outputs=[toprow.negative_token_counter])
+ toprow.negative_token_button.click(fn=wrap_queued_call(update_negative_prompt_token_counter), inputs=[toprow.negative_prompt, steps], outputs=[toprow.negative_token_counter])
img2img_paste_fields = [
(toprow.prompt, "Prompt"),