diff options
author | papuSpartan <30642826+papuSpartan@users.noreply.github.com> | 2023-05-03 18:12:43 +0000 |
---|---|---|
committer | papuSpartan <30642826+papuSpartan@users.noreply.github.com> | 2023-05-03 18:12:43 +0000 |
commit | e960781511eb175943be09b314ac2be46b6fc684 (patch) | |
tree | 1441d54859f012f87f624fda7170788cebc4960a /modules/shared.py | |
parent | f08ae961157d33051b5cd09ba5c77b779096ef69 (diff) | |
download | stable-diffusion-webui-gfx803-e960781511eb175943be09b314ac2be46b6fc684.tar.gz stable-diffusion-webui-gfx803-e960781511eb175943be09b314ac2be46b6fc684.tar.bz2 stable-diffusion-webui-gfx803-e960781511eb175943be09b314ac2be46b6fc684.zip |
fix maximum downsampling option
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/shared.py b/modules/shared.py index 7b81ffc9..a7a72dd5 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -488,10 +488,7 @@ options_templates.update(options_section(('token_merging', 'Token Merging'), { False, "Merge mlp",
gr.Checkbox
),
- "token_merging_maximum_down_sampling": OptionInfo(
- 1, "Maximum down sampling",
- gr.Dropdown, lambda: {"choices": ["1", "2", "4", "8"]}
- ),
+ "token_merging_maximum_down_sampling": OptionInfo(1, "Maximum down sampling", gr.Radio, lambda: {"choices": ['1', '2', '4', '8']}),
"token_merging_stride_x": OptionInfo(
2, "Stride - X",
gr.Slider, {"minimum": 2, "maximum": 8, "step": 2}
|