Closed Succubyss closed 3 weeks ago
@LagPixelLOL I see you reverted the change to the default prompts, but I have to ask you at least make the default negative prompt blank. On Discord bot related deployments, it makes it so that if a user doesn't manually specify a negative prompt, it assumes the prompt you set.
It's also why I made the default positive prompt "safe" so that if an image generation trigger is performed without any parameters it simply generates a safe image. However, I can live with it being 1girl, I just really think it make smore sense for the default negative prompt to be empty.
You can specify something like an empty string when submitting to the API then it won't use the default prompt. I set it that way so it's easier to use for a specific model (tPonynai3), it's the reason why most of the default settings are in the current way too.
A whole bunch of new default constants. Renamed
POSITIVE_PREPROMPT
toDEFAULT_POS_PREPROMPT
and similar for the negative. Then I moved stuff around inconstants.py
until their order made a bit more sense without breaking things.Moved
DEFAULT_VAE_NAME = BAKEDIN_VAE_LABEL if DEFAULT_VAE_NAME is None else DEFAULT_VAE_NAME
to the top ofpredict.py
, added an assert for the clip skip, and the list of scheduler names is now done from withinconstants.py
.I made sure that the cog compiled (whatever the hell it does) and it spat out an image just fine.