BBrother commited on
Commit
74ba676
1 Parent(s): 56beff2

Update SW_run.py

Browse files
Files changed (1) hide show
  1. SW_run.py +2 -1
SW_run.py CHANGED
@@ -7,7 +7,8 @@ logging.basicConfig(filename='logs_run.txt', level=logging.INFO, format='%(ascti
7
 
8
  # 执行第二个命令,并捕获输出
9
  proc = subprocess.Popen(['python', '/content/ui/launch.py', '--listen', '--xformers', '--enable-insecure-extension-access',
10
- '--theme', 'dark', '--gradio-queue', '--no-download-sd-model', '--share'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
 
11
 
12
  # 读取输出并捕获地址
13
  while True:
 
7
 
8
  # 执行第二个命令,并捕获输出
9
  proc = subprocess.Popen(['python', '/content/ui/launch.py', '--listen', '--xformers', '--enable-insecure-extension-access',
10
+ '--theme', 'dark', '--gradio-queue', '--no-download-sd-model', '--share'],
11
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
12
 
13
  # 读取输出并捕获地址
14
  while True: