Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,6 +36,7 @@ user_home =pathlib.Path.home().resolve()
|
|
| 36 |
os.chdir(str(user_home))
|
| 37 |
#clone stable-diffusion-webui repo
|
| 38 |
print("cloning stable-diffusion-webui repo")
|
|
|
|
| 39 |
Gitclone(r"https://github.com/lllyasviel/stable-diffusion-webui-forge.git",str(user_home / r"stable-diffusion-webui"))
|
| 40 |
os.chdir(str(user_home / r"stable-diffusion-webui"))
|
| 41 |
os.system("git reset --hard 89f9faa63388756314e8a1d96cf86bf5e0663045")
|
|
|
|
| 36 |
os.chdir(str(user_home))
|
| 37 |
#clone stable-diffusion-webui repo
|
| 38 |
print("cloning stable-diffusion-webui repo")
|
| 39 |
+
os.system(f'rm -rf "{str(user_home / r"stable-diffusion-webui")}"/*')
|
| 40 |
Gitclone(r"https://github.com/lllyasviel/stable-diffusion-webui-forge.git",str(user_home / r"stable-diffusion-webui"))
|
| 41 |
os.chdir(str(user_home / r"stable-diffusion-webui"))
|
| 42 |
os.system("git reset --hard 89f9faa63388756314e8a1d96cf86bf5e0663045")
|