stable-diffusion-webui
stable-diffusion-webui copied to clipboard
feat: try sort as ignore-case
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/8368
current
- A
- B
- a
expected
- A
- a
- B
Why are you using key in three cases but cmp in 4th?
Why are you using
keyin three cases butcmpin 4th?
i use ChatGPT write it for me
Looks like the cmp parameter was removed entirely in python3, https://docs.python.org/3.10/howto/sorting.html#the-old-way-using-the-cmp-parameter
the change in line 132 in modules/textual_inversion/textual_inversion.py is not needed