snatcheggmoderntimes commited on
Commit
74b0844
·
verified ·
1 Parent(s): 150b368

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,7 +38,7 @@ def DownLoad(URI:str,DownloadPath:pathlib.Path,DownLoadFileName:str ) -> int:
38
  #user_home =pathlib.Path.home().resolve().joinpath("data")
39
  user_home=pathlib.Path("/data")
40
  os.chdir(str(user_home))
41
- print(os.listdir(str(user_home)))
42
  #clone stable-diffusion-webui repo
43
  print("cloning stable-diffusion-webui repo")
44
  Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui.git",user_home / r"stable-diffusion-webui")
@@ -306,7 +306,7 @@ del os ,user_home ,pyexecutable ,subprocess
306
  # at least give feedback on this anyway, because it's not
307
  # really tested that much at the moment.
308
 
309
-
310
  while True:
311
  ret=subprocess.run([executable ,user_home / r"stable-diffusion-webui" / r"launch.py",r"--xformers",r"--api",r"--enable-insecure-extension-access",r"--skip-torch-cuda-test",r"--enable-console-prompts",r"--ui-settings-file="+str(pathlib.Path(__file__).parent /r"config.json")])
312
  if(ret.returncode == 0 ):
 
38
  #user_home =pathlib.Path.home().resolve().joinpath("data")
39
  user_home=pathlib.Path("/data")
40
  os.chdir(str(user_home))
41
+
42
  #clone stable-diffusion-webui repo
43
  print("cloning stable-diffusion-webui repo")
44
  Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui.git",user_home / r"stable-diffusion-webui")
 
306
  # at least give feedback on this anyway, because it's not
307
  # really tested that much at the moment.
308
 
309
+ print(os.listdir(str(user_home)+"stable-diffusion-webui"))
310
  while True:
311
  ret=subprocess.run([executable ,user_home / r"stable-diffusion-webui" / r"launch.py",r"--xformers",r"--api",r"--enable-insecure-extension-access",r"--skip-torch-cuda-test",r"--enable-console-prompts",r"--ui-settings-file="+str(pathlib.Path(__file__).parent /r"config.json")])
312
  if(ret.returncode == 0 ):