stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: API can't get the sampler index with certain names
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
API can't get the index of "k_euler", "k_dpm_2" and only works with the full name like "DDIM", "Euler a"
sampler_to_index = lambda name: next(filter(lambda row: name.lower() == row[1].name.lower(), enumerate(all_samplers)), None)
this gives None in this case.
Steps to reproduce the problem
use "k_euler_a" with the api get 404 error
What should have happened?
well it should work without 404 error
Commit where the problem happens
737eb28faca8be2bb996ee0930ec77d1f7ebd939
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
No response
Command Line Arguments
No response
Additional information, context and logs
No response
i would like to confirm this issue as well looking into it seeing if I can find it however mine wont even work with full name