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",
|
||||
description="The positive prompt to pass to stable diffusion",
|
||||
input_type="str",
|
||||
requred=True,
|
||||
requred=True
|
||||
)
|
||||
@option(
|
||||
"negative_prompt",
|
||||
description="An optional set of negatives you want to pass to stable diffusion",
|
||||
requred=False,
|
||||
default=""
|
||||
)
|
||||
async def sd(
|
||||
self, ctx: commands.Context, positive_prompt: str, negative_prompt: str
|
||||
):
|
||||
async def sd(self, ctx: commands.Context, positive_prompt: str, negative_prompt: str):
|
||||
|
||||
if ctx.channel.name == "stable-diffusion":
|
||||
import socket
|
||||
|
Loading…
x
Reference in New Issue
Block a user