Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,12 +7,12 @@ import random
|
|
7 |
import shutil
|
8 |
|
9 |
if not os.path.exists("sd-ggml"):
|
10 |
-
os.system("git clone https://huggingface.co/svjack/sd-ggml")
|
11 |
else:
|
12 |
-
shutil.rmtree("sd-ggml")
|
13 |
-
os.system("git clone https://huggingface.co/svjack/sd-ggml")
|
14 |
-
assert os.path.exists("sd-ggml")
|
15 |
-
os.chdir("sd-ggml")
|
16 |
assert os.path.exists("stable-diffusion.cpp")
|
17 |
os.system("cmake stable-diffusion.cpp")
|
18 |
os.system("cmake --build . --config Release")
|
|
|
7 |
import shutil
|
8 |
|
9 |
if not os.path.exists("sd-ggml"):
|
10 |
+
os.system("git clone https://huggingface.co/svjack/sd-ggml-cpp-dp")
|
11 |
else:
|
12 |
+
shutil.rmtree("sd-ggml-cpp-dp")
|
13 |
+
os.system("git clone https://huggingface.co/svjack/sd-ggml-cpp-dp")
|
14 |
+
assert os.path.exists("sd-ggml-cpp-dp")
|
15 |
+
os.chdir("sd-ggml-cpp-dp")
|
16 |
assert os.path.exists("stable-diffusion.cpp")
|
17 |
os.system("cmake stable-diffusion.cpp")
|
18 |
os.system("cmake --build . --config Release")
|