BBrother commited on
Commit
270252a
1 Parent(s): 312c88b

Update SW_run.py

Browse files
Files changed (1) hide show
  1. SW_run.py +1 -1
SW_run.py CHANGED
@@ -50,7 +50,7 @@ os.chdir('/etc/main/')
50
  try:
51
  # 在 try 块中运行 /etc/main/webui.py,并将输出重定向到日志文件
52
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
53
- process = subprocess.Popen(['python', '/etc/main/webui.py', '--skip-torch-cuda-test', '--listen', '--xformers', '--enable-insecure-extension-access', '--gradio-queue', '--multiple', '--disable-nan-check', '--no-hashing', '--opt-split-attention', '--disable-safe-unpickle', '--api', '--theme', 'dark' ], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
54
 
55
  url_pattern = re.compile(r'https?://\S+')
56
 
 
50
  try:
51
  # 在 try 块中运行 /etc/main/webui.py,并将输出重定向到日志文件
52
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
53
+ process = subprocess.Popen(['python', '/etc/main/webui.py', '--skip-torch-cuda-test', '--listen', '--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' ], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
54
 
55
  url_pattern = re.compile(r'https?://\S+')
56