fixing hard coded reference to my gaming computer
This commit is contained in:
parent
fc082c1ad2
commit
f8a6dc5b97
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user