From cdcf17b0fd8c8b14be4f9dc34ba8a2a8651347bc Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Wed, 25 Oct 2023 14:40:53 -0700 Subject: [PATCH] give everyone loras too --- app/cogs/stable_diffusion.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/cogs/stable_diffusion.py b/app/cogs/stable_diffusion.py index 0c9ba73b..dacdd870 100644 --- a/app/cogs/stable_diffusion.py +++ b/app/cogs/stable_diffusion.py @@ -37,15 +37,15 @@ class StableDiffusion(commands.Cog): ip = "192.168.1.5" steps = 120 enable_upscale = "false" + if "lora" not in positive_prompt: + positive_prompt = ( + positive_prompt + + " " + ) # Send my requests to my gaming computer with the 3080 (if its up) if ctx.author.id == core_utils.my_id: ip = "192.168.1.19" - if "lora" not in positive_prompt: - positive_prompt = ( - positive_prompt - + " " - ) enable_upscale = "true" s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(1)