vorstcavry commited on
Commit
3e04b85
1 Parent(s): 21d2580

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1,7 +1,7 @@
1
  """
2
  Vorst Cavry SD Anapnoe
3
  """
4
- commit_id=r"d0bf509fa14babebedbaef121ef54599003aa457"
5
  import os
6
  from sys import executable
7
  import subprocess
@@ -39,9 +39,9 @@ user_home =pathlib.Path.home().resolve()
39
  os.chdir(str(user_home))
40
  #clone stable-diffusion-webui repo
41
  print("cloning stable-diffusion-webui repo")
42
- Gitclone(r"https://github.com/anapnoe/stable-diffusion-webui-ux",user_home / r"stable-diffusion-webui")
43
  os.chdir(str(user_home / r"stable-diffusion-webui"))
44
- os.system("git reset --hard "+commit_id)
45
  #install extensions
46
  print("installing extensions")
47
  Gitclone(r"https://github.com/vorstcavry/embeddings",user_home / r"stable-diffusion-webui" / r"embeddings" / r"negative")
@@ -203,7 +203,7 @@ os.chdir(user_home / r"stable-diffusion-webui")
203
  import subprocess
204
  import pathlib
205
 
206
- user_home = pathlib.Path("/home/user") # Gantilah dengan path yang sesuai
207
 
208
  args = [
209
  executable,
@@ -212,7 +212,7 @@ args = [
212
  "--no-half",
213
  "--no-half-vae",
214
  "--enable-insecure-extension-access",
215
- "--medvram-sdxl",
216
  "--skip-torch-cuda-test",
217
  "--enable-console-prompts",
218
  "--ui-settings-file=" + str(pathlib.Path(__file__).parent / "config.json"),
 
1
  """
2
  Vorst Cavry SD Anapnoe
3
  """
4
+ #commit_id=r"d0bf509fa14babebedbaef121ef54599003aa457"
5
  import os
6
  from sys import executable
7
  import subprocess
 
39
  os.chdir(str(user_home))
40
  #clone stable-diffusion-webui repo
41
  print("cloning stable-diffusion-webui repo")
42
+ Gitclone(r"https://github.com/falsonerd/ux",user_home / r"stable-diffusion-webui")
43
  os.chdir(str(user_home / r"stable-diffusion-webui"))
44
+ #os.system("git reset --hard "+commit_id)
45
  #install extensions
46
  print("installing extensions")
47
  Gitclone(r"https://github.com/vorstcavry/embeddings",user_home / r"stable-diffusion-webui" / r"embeddings" / r"negative")
 
203
  import subprocess
204
  import pathlib
205
 
206
+ user_home = pathlib.Path("/home/user")
207
 
208
  args = [
209
  executable,
 
212
  "--no-half",
213
  "--no-half-vae",
214
  "--enable-insecure-extension-access",
215
+ "--medvram",
216
  "--skip-torch-cuda-test",
217
  "--enable-console-prompts",
218
  "--ui-settings-file=" + str(pathlib.Path(__file__).parent / "config.json"),