BBrother commited on
Commit
a80cf0b
1 Parent(s): df02c71

Update SW_run.py

Browse files
Files changed (1) hide show
  1. SW_run.py +1 -1
SW_run.py CHANGED
@@ -35,7 +35,7 @@ os.chdir('/etc/main/')
35
  try:
36
  # 在 try 块中运行 /etc/main/webui.py,并将输出重定向到日志文件
37
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
38
- process = subprocess.Popen(['python', '/etc/main/webui.py', '--skip-torch-cuda-test', '--xformers', '--enable-insecure-extension-access', '--gradio-queue', '--multiple', '--disable-nan-check', '--no-hashing', '--opt-split-attention', '--disable-safe-unpickle', '--api', '--theme', 'dark', '--disable-console-progressbars', '--administrator'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
39
 
40
  url_pattern = re.compile(r'https?://\S+')
41
 
 
35
  try:
36
  # 在 try 块中运行 /etc/main/webui.py,并将输出重定向到日志文件
37
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
38
+ process = subprocess.Popen(['python', '/etc/main/launch.py', '--skip-torch-cuda-test', '--xformers', '--enable-insecure-extension-access', '--gradio-queue', '--multiple', '--disable-nan-check', '--no-hashing', '--opt-split-attention', '--disable-safe-unpickle', '--api', '--theme', 'dark', '--disable-console-progressbars', '--administrator'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
39
 
40
  url_pattern = re.compile(r'https?://\S+')
41