fix ip for my user
This commit is contained in:
parent
631be35834
commit
08c8a8bee8
@ -42,7 +42,6 @@ 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:
|
||||
ip = "192.168.1.19"
|
||||
steps = 120
|
||||
if "lora" not in positive_prompt:
|
||||
positive_prompt = (
|
||||
@ -53,9 +52,10 @@ 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.80"
|
||||
ip = "192.168.1.5"
|
||||
try:
|
||||
await ctx.defer()
|
||||
original_message = await ctx.followup.send(
|
||||
|
Loading…
x
Reference in New Issue
Block a user