trying another method of setting negative prompt
This commit is contained in:
parent
77961855d9
commit
683166d538
@ -88,16 +88,14 @@ class ActualUtils(commands.Cog):
|
|||||||
"positive_prompt",
|
"positive_prompt",
|
||||||
description="The positive prompt to pass to stable diffusion",
|
description="The positive prompt to pass to stable diffusion",
|
||||||
input_type="str",
|
input_type="str",
|
||||||
requred=True,
|
requred=True
|
||||||
)
|
)
|
||||||
@option(
|
@option(
|
||||||
"negative_prompt",
|
"negative_prompt",
|
||||||
description="An optional set of negatives you want to pass to stable diffusion",
|
description="An optional set of negatives you want to pass to stable diffusion",
|
||||||
requred=False,
|
default=""
|
||||||
)
|
)
|
||||||
async def sd(
|
async def sd(self, ctx: commands.Context, positive_prompt: str, negative_prompt: str):
|
||||||
self, ctx: commands.Context, positive_prompt: str, negative_prompt: str
|
|
||||||
):
|
|
||||||
|
|
||||||
if ctx.channel.name == "stable-diffusion":
|
if ctx.channel.name == "stable-diffusion":
|
||||||
import socket
|
import socket
|
||||||
|
Loading…
x
Reference in New Issue
Block a user