BBrother commited on
Commit
3c74cf0
1 Parent(s): eb805e1

Update SW_run.py

Browse files
Files changed (1) hide show
  1. SW_run.py +1 -1
SW_run.py CHANGED
@@ -28,7 +28,7 @@ os.chdir('/bushu/ui')
28
  try:
29
  # 在try块中运行/bushu/ui/launch.py,并将输出重定向到日志文件
30
  with open(log_file, 'a') as log_file_handle:
31
- subprocess.run(['python', '/bushu/ui/launch.py', '--skip-torch-cuda-test', '--share', '--listen', '--xformers', '--enable-insecure-extension-access', '--gradio-queue', '--multiple', '--theme light'], check=True, stdout=log_file_handle, stderr=subprocess.STDOUT)
32
 
33
  except subprocess.CalledProcessError as e:
34
  # 捕获异常并记录到日志文件
 
28
  try:
29
  # 在try块中运行/bushu/ui/launch.py,并将输出重定向到日志文件
30
  with open(log_file, 'a') as log_file_handle:
31
+ subprocess.run(['python', '/bushu/ui/launch.py', '--skip-torch-cuda-test', '--share', '--listen', '--xformers', '--enable-insecure-extension-access', '--gradio-queue', '--multiple'], check=True, stdout=log_file_handle, stderr=subprocess.STDOUT)
32
 
33
  except subprocess.CalledProcessError as e:
34
  # 捕获异常并记录到日志文件