Spaces:
Runtime error
Runtime error
Commit
·
1cd213b
1
Parent(s):
f69d312
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
"""
|
2 |
Vorst Cavry SD Anapnoe
|
3 |
"""
|
4 |
-
commit_id=r"
|
5 |
import os
|
6 |
from sys import executable
|
7 |
import subprocess
|
@@ -37,7 +37,7 @@ user_home =pathlib.Path.home().resolve()
|
|
37 |
os.chdir(str(user_home))
|
38 |
#clone stable-diffusion-webui repo
|
39 |
print("cloning stable-diffusion-webui repo")
|
40 |
-
Gitclone(r"https://
|
41 |
os.chdir(str(user_home / r"stable-diffusion-webui"))
|
42 |
os.system("git reset --hard "+commit_id)
|
43 |
#install extensions
|
@@ -52,6 +52,7 @@ while (True):
|
|
52 |
if(i.returncode == 0 ):
|
53 |
del i
|
54 |
gc.collect()
|
|
|
55 |
break
|
56 |
else :
|
57 |
del i
|
|
|
1 |
"""
|
2 |
Vorst Cavry SD Anapnoe
|
3 |
"""
|
4 |
+
commit_id=r"73e222e6cff0d054b529566f21edbb6c9324bee2"
|
5 |
import os
|
6 |
from sys import executable
|
7 |
import subprocess
|
|
|
37 |
os.chdir(str(user_home))
|
38 |
#clone stable-diffusion-webui repo
|
39 |
print("cloning stable-diffusion-webui repo")
|
40 |
+
Gitclone(r"https://github.com/anapnoe/stable-diffusion-webui-ux",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
|
|
|
52 |
if(i.returncode == 0 ):
|
53 |
del i
|
54 |
gc.collect()
|
55 |
+
|
56 |
break
|
57 |
else :
|
58 |
del i
|