DeSinc / SallyBot

AI Chatbot coded in Discord.net C#
MIT License
299 stars 51 forks source link

Fix override settings (no more NSFW sadge) #1

Closed JackMyers001 closed 1 year ago

JackMyers001 commented 1 year ago

This should make overrideSettings work as expected. According to the Stable Diffusion Web UI API docs, they need to be part of the payload itself.

JackMyers001 commented 1 year ago

...Nevermind, this seems to not work. Some equivalent test Python code to the API produces an error in the Web UI code: KeyError: 'filter_nsfw'.

filter_nsfw can be added directly to payload (rather than override_settings), however it doesn't seem to do anything.

DeSinc commented 1 year ago

Yep same thing I found unfortunately. Not sure why it's not working, even chat gpt couldn't figure it out (lol.)