dasghost65536 commited on
Commit
67c0ca1
1 Parent(s): f7ab989

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ Stable Diffusion Webui Version 1.7.0
3
  https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.7.0
4
 
5
  """
6
- commit_id=r"cf2772fab0af5573da775e7437e6acdca424f26e" #Version 1.7.0
7
  import os
8
  from sys import executable
9
  import subprocess
@@ -41,7 +41,7 @@ os.chdir(str(user_home))
41
  print("cloning stable-diffusion-webui repo")
42
  Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui.git",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://huggingface.co/embed/negative",user_home / r"stable-diffusion-webui" / r"embeddings" / r"negative")
 
3
  https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.7.0
4
 
5
  """
6
+ #commit_id=r"cf2772fab0af5573da775e7437e6acdca424f26e" #Version 1.7.0
7
  import os
8
  from sys import executable
9
  import subprocess
 
41
  print("cloning stable-diffusion-webui repo")
42
  Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui.git",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://huggingface.co/embed/negative",user_home / r"stable-diffusion-webui" / r"embeddings" / r"negative")