Skip to content

Commit

Permalink
Update patcher_tunel.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shaitanzx authored Jul 21, 2024
1 parent 3c0fb24 commit d4f9026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patcher_tunel.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
PATH_TO_WEBUI = os.path.join(DIR_FOOOCUS, "webui.py")

PATH_OBJ_DATA_PATCHER = [
["# dump_default_english_config()\n","import subprocess
["# dump_default_english_config()\n","""import subprocess
import threading
import time
import socket
Expand All @@ -30,7 +30,7 @@ def iframe_thread(port):
print("This is the URL to access Fooocus:", l[l.find("https"):], end='')
port = 7865 # Replace with the port number used by Fooocus
threading.Thread(target=iframe_thread, daemon=True, args=(port,)).start()\n"],
threading.Thread(target=iframe_thread, daemon=True, args=(port,)).start()\n"""],

]

Expand Down

0 comments on commit d4f9026

Please sign in to comment.