Nultx commited on
Commit
90db5a9
1 Parent(s): f218d0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ DownLoad(r"https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv
119
  print("Done\nStarting Webui...")
120
  os.chdir(user_home / r"stable-diffusion-webui")
121
  while True:
122
- ret=subprocess.run([executable ,user_home / r"stable-diffusion-webui" / r"launch.py",r"--precision",r"full",r"--no-half",r"--no-half-vae",r"--enable-insecure-extension-access",r"--medvram",r"--skip-torch-cuda-test",r"--enable-console-prompts",r"--ui-settings-file="+str(pathlib.Path(__file__).parent /r"config.json")])
123
  if(ret.returncode == 0 ):
124
  del ret
125
  gc.collect()
 
119
  print("Done\nStarting Webui...")
120
  os.chdir(user_home / r"stable-diffusion-webui")
121
  while True:
122
+ ret=subprocess.run([executable ,user_home / r"stable-diffusion-webui" / r"launch.py",r"--precision",r"full",r"--no-half",r"--api",r"--no-half-vae",r"--enable-insecure-extension-access",r"--medvram",r"--skip-torch-cuda-test",r"--enable-console-prompts",r"--ui-settings-file="+str(pathlib.Path(__file__).parent /r"config.json")])
123
  if(ret.returncode == 0 ):
124
  del ret
125
  gc.collect()