ACCA225 commited on
Commit
e26a6e4
1 Parent(s): 19492e7

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +1 -1
app2.py CHANGED
@@ -295,7 +295,7 @@ def start():
295
  os.system(f"python launch.py --api --xformers --exit --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle")
296
  #time.sleep(5)
297
 
298
- command = f"python launch.py --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --api-auth={apitoken}"
299
  command1 = "python launch.py --ui-config=/home/xlab-app-center/stable-diffusion-webui/ui-config2.json --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7862"
300
  command2 = "python launch.py --ui-config=/home/xlab-app-center/stable-diffusion-webui/ui-config2.json --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7863"
301
  process = subprocess.Popen(command, shell=True)
 
295
  os.system(f"python launch.py --api --xformers --exit --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle")
296
  #time.sleep(5)
297
 
298
+ command = f"python launch.py --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle"
299
  command1 = "python launch.py --ui-config=/home/xlab-app-center/stable-diffusion-webui/ui-config2.json --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7862"
300
  command2 = "python launch.py --ui-config=/home/xlab-app-center/stable-diffusion-webui/ui-config2.json --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7863"
301
  process = subprocess.Popen(command, shell=True)