diff options
author | papuSpartan <30642826+papuSpartan@users.noreply.github.com> | 2023-05-04 02:10:31 +0000 |
---|---|---|
committer | papuSpartan <30642826+papuSpartan@users.noreply.github.com> | 2023-05-04 02:10:31 +0000 |
commit | f0efc8c211fc2d2c2f8caf6e2f92501922d18c99 (patch) | |
tree | f33c7d1849a99ad619b8cb9f310e6f777ac78215 | |
parent | e960781511eb175943be09b314ac2be46b6fc684 (diff) | |
download | stable-diffusion-webui-gfx803-f0efc8c211fc2d2c2f8caf6e2f92501922d18c99.tar.gz stable-diffusion-webui-gfx803-f0efc8c211fc2d2c2f8caf6e2f92501922d18c99.tar.bz2 stable-diffusion-webui-gfx803-f0efc8c211fc2d2c2f8caf6e2f92501922d18c99.zip |
not being cast properly every time, swap to ints
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index a7a72dd5..eb06909c 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -488,7 +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.Radio, 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}
|