Update app.py
Browse files
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")
|