Skip to content

Commit

Permalink
not being cast properly every time, swap to ints
Browse files Browse the repository at this point in the history
  • Loading branch information
papuSpartan committed May 4, 2023
1 parent e960781 commit f0efc8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def list_samplers():
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}
Expand Down

0 comments on commit f0efc8c

Please sign in to comment.