bug fix in notify non-default prompt

This commit is contained in:
phixxy 2024-03-17 15:12:35 -07:00
parent 99375b0f7b
commit 0adf54f96b

View file

@ -300,7 +300,7 @@ class StableDiffusion(commands.Cog):
key_value_pairs = self.get_kv_from_ctx(ctx) key_value_pairs = self.get_kv_from_ctx(ctx)
negative_prompt = self.get_negative_prompt() negative_prompt = self.get_negative_prompt()
if negative_prompt != self.default_neg_prompt: if negative_prompt != self.default_neg_prompt:
ctx.send(f"Using non-default negative prompt: {negative_prompt}") await ctx.send(f"Using non-default negative prompt: {negative_prompt}")
headers = {'Content-Type': 'application/json'} headers = {'Content-Type': 'application/json'}
payload = { payload = {
"prompt": prompt, "prompt": prompt,