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)
|
# Send my requests to my gaming computer with the 3080 (if its up)
|
||||||
if ctx.author.id == core_utils.my_id:
|
if ctx.author.id == core_utils.my_id:
|
||||||
ip = "192.168.1.19"
|
|
||||||
steps = 120
|
steps = 120
|
||||||
if "lora" not in positive_prompt:
|
if "lora" not in positive_prompt:
|
||||||
positive_prompt = (
|
positive_prompt = (
|
||||||
@ -53,9 +52,10 @@ class StableDiffusion(commands.Cog):
|
|||||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
s.settimeout(1)
|
s.settimeout(1)
|
||||||
try:
|
try:
|
||||||
|
ip = "192.168.1.19"
|
||||||
s.connect((ip, int(port)))
|
s.connect((ip, int(port)))
|
||||||
except:
|
except:
|
||||||
ip = "192.168.1.80"
|
ip = "192.168.1.5"
|
||||||
try:
|
try:
|
||||||
await ctx.defer()
|
await ctx.defer()
|
||||||
original_message = await ctx.followup.send(
|
original_message = await ctx.followup.send(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user