BBrother commited on
Commit
915d2c5
1 Parent(s): befe219

Update SW_run.py

Browse files
Files changed (1) hide show
  1. SW_run.py +1 -1
SW_run.py CHANGED
@@ -25,7 +25,7 @@ sys.stderr = logging.getLogger().handlers[0].stream
25
  try:
26
  # 在try块中运行/bushu/ui/launch.py,并将输出重定向到日志文件
27
  with open(log_file, 'a') as log_file_handle:
28
- subprocess.run(['python', '/bushu/ui/launch.py', '--skip-torch-cuda-test' , '--share -o /bushu/out_url.txt'], check=True, stdout=log_file_handle, stderr=subprocess.STDOUT)
29
 
30
  except subprocess.CalledProcessError as e:
31
  # 捕获异常并记录到日志文件
 
25
  try:
26
  # 在try块中运行/bushu/ui/launch.py,并将输出重定向到日志文件
27
  with open(log_file, 'a') as log_file_handle:
28
+ subprocess.run(['python', '/bushu/ui/launch.py', '--skip-torch-cuda-test'], check=True, stdout=log_file_handle, stderr=subprocess.STDOUT)
29
 
30
  except subprocess.CalledProcessError as e:
31
  # 捕获异常并记录到日志文件