diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-05-22 05:09:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 05:09:48 +0000 |
commit | 0cbcc4d82899f8f95493975e9e79f16748105448 (patch) | |
tree | a6c232e89beb10c53ad1c8604ab8fd22951b5ce5 /modules/shared.py | |
parent | ee2f4fb92da56ce5d5d06a78332e7f7da56ee2ae (diff) | |
parent | 618c59b01d8b90794df0aea625de1c1d5d94d407 (diff) | |
download | stable-diffusion-webui-gfx803-0cbcc4d82899f8f95493975e9e79f16748105448.tar.gz stable-diffusion-webui-gfx803-0cbcc4d82899f8f95493975e9e79f16748105448.tar.bz2 stable-diffusion-webui-gfx803-0cbcc4d82899f8f95493975e9e79f16748105448.zip |
Merge pull request #10611 from akx/disable-token-counters
Add option to disable token counters
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index e1a743d6..0897f937 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -488,6 +488,7 @@ options_templates.update(options_section(('ui', "User interface"), { "ui_reorder": OptionInfo(", ".join(ui_reorder_categories), "txt2img/img2img UI item order").needs_restart(),
"hires_fix_show_sampler": OptionInfo(False, "Hires fix: show hires sampler selection").needs_restart(),
"hires_fix_show_prompts": OptionInfo(False, "Hires fix: show hires prompt and negative prompt").needs_restart(),
+ "disable_token_counters": OptionInfo(False, "Disable prompt token counters").needs_restart(),
}))
options_templates.update(options_section(('infotext', "Infotext"), {
|