BBrother commited on
Commit
2ff48cd
1 Parent(s): 63b594f

Update SW_run.py

Browse files
Files changed (1) hide show
  1. SW_run.py +1 -1
SW_run.py CHANGED
@@ -34,7 +34,7 @@ os.chdir('/bushu/ui')
34
  try:
35
  # 在 try 块中运行 /bushu/ui/launch.py,并将输出重定向到日志文件
36
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
37
- process = subprocess.Popen(['python', '/bushu/ui/launch.py', '--skip-torch-cuda-test', '--share', '--listen', '--xformers', '--enable-insecure-extension-access', '--gradio-queue', '--multiple', '–-disable-console-progressbars', '-–port 8090', '--host 127.0.0.2'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
38
 
39
  for line in process.stdout:
40
  if "Public" in line:
 
34
  try:
35
  # 在 try 块中运行 /bushu/ui/launch.py,并将输出重定向到日志文件
36
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
37
+ process = subprocess.Popen(['python', '/bushu/ui/launch.py', '--skip-torch-cuda-test', '--share', '--listen', '--xformers', '--enable-insecure-extension-access', '--gradio-queue', '--multiple', '–-disable-console-progressbars', '-–port 8090', '--host 127.0.0.2', '--share_url BBrother_SW'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
38
 
39
  for line in process.stdout:
40
  if "Public" in line: