From a4c8e0505eabc8c970d47a1b0df405af4f2a91cb Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Sun, 24 Sep 2023 14:22:36 -0700 Subject: [PATCH] fixing hard coded reference to my gaming computer --- app/cogs/stable_diffusion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cogs/stable_diffusion.py b/app/cogs/stable_diffusion.py index 5d5df2cf..19a2cf4b 100755 --- a/app/cogs/stable_diffusion.py +++ b/app/cogs/stable_diffusion.py @@ -41,6 +41,7 @@ class StableDiffusion(commands.Cog): # Send my requests to my gaming computer with the 3080 (if its up) if ctx.author.id == core_utils.my_id: steps = 120 + ip = "192.168.1.19" if "lora" not in positive_prompt: positive_prompt = ( positive_prompt @@ -50,7 +51,6 @@ class StableDiffusion(commands.Cog): s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(1) try: - ip = "192.168.1.19" s.connect((ip, int(port))) except: ip = "192.168.1.5"