Spaces:
Runtime error
Runtime error
jangocheng
commited on
Commit
·
6858f32
1
Parent(s):
6080d33
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ os.chdir(str(user_home))
|
|
39 |
print("cloning stable-diffusion-webui repo")
|
40 |
Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui.git",user_home / r"stable-diffusion-webui")
|
41 |
os.chdir(str(user_home / r"stable-diffusion-webui"))
|
42 |
-
|
43 |
#install extensions
|
44 |
print("installing extensions")
|
45 |
Gitclone(r"https://huggingface.co/embed/negative",user_home / r"stable-diffusion-webui" / r"embeddings" / r"negative")
|
|
|
39 |
print("cloning stable-diffusion-webui repo")
|
40 |
Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui.git",user_home / r"stable-diffusion-webui")
|
41 |
os.chdir(str(user_home / r"stable-diffusion-webui"))
|
42 |
+
os.system("git reset --hard "+commit_id)
|
43 |
#install extensions
|
44 |
print("installing extensions")
|
45 |
Gitclone(r"https://huggingface.co/embed/negative",user_home / r"stable-diffusion-webui" / r"embeddings" / r"negative")
|