BBrother commited on
Commit
f839e16
1 Parent(s): f3b9358

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('/bushu/ui')
35
  try:
36
  # 在 try 块中运行 /bushu/ui/launch.py,并将输出重定向到日志文件
37
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
38
- process = subprocess.Popen(['python', '/bushu/ui/launch.py', '--skip-torch-cuda-test', '--listen', '--xformers', '--enable-insecure-extension-access', '--gradio-queue', '--multiple'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
39
 
40
  url_pattern = re.compile(r'https?://\S+')
41
 
 
35
  try:
36
  # 在 try 块中运行 /bushu/ui/launch.py,并将输出重定向到日志文件
37
  with open(log_file, 'a') as log_file_handle, open(url_file, 'a') as url_file_handle:
38
+ process = subprocess.Popen(['python', '/bushu/ui/launch.py'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
39
 
40
  url_pattern = re.compile(r'https?://\S+')
41