From 683166d53802a9e38010e46a006258de285a7d9f Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Tue, 18 Oct 2022 12:48:13 -0700 Subject: [PATCH] trying another method of setting negative prompt --- app/cogs/actual_utils.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/cogs/actual_utils.py b/app/cogs/actual_utils.py index d6842bb2..f7927cba 100644 --- a/app/cogs/actual_utils.py +++ b/app/cogs/actual_utils.py @@ -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