bug fix in notify non-default prompt
This commit is contained in:
parent
99375b0f7b
commit
0adf54f96b
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue