stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

feat: try sort as ignore-case

Open bluelovers opened this issue 2 years ago • 4 comments

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/8368

current

  • A
  • B
  • a

expected

  • A
  • a
  • B

bluelovers avatar Mar 12 '23 02:03 bluelovers

Why are you using key in three cases but cmp in 4th?

AUTOMATIC1111 avatar Mar 12 '23 05:03 AUTOMATIC1111

Why are you using key in three cases but cmp in 4th?

i use ChatGPT write it for me

bluelovers avatar Mar 12 '23 05:03 bluelovers

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

pangbo13 avatar Mar 12 '23 07:03 pangbo13

the change in line 132 in modules/textual_inversion/textual_inversion.py is not needed

AUTOMATIC1111 avatar Mar 25 '23 11:03 AUTOMATIC1111