Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,13 @@
|
|
1 |
import os
|
|
|
2 |
|
3 |
'''
|
4 |
os.system("pip install -U huggingface_hub")
|
5 |
os.system("pip install -U diffusers")
|
6 |
'''
|
7 |
|
|
|
|
|
8 |
os.system("git clone https://huggingface.co/warp-ai/wuerstchen")
|
9 |
|
10 |
import sys
|
|
|
1 |
import os
|
2 |
+
import shutil
|
3 |
|
4 |
'''
|
5 |
os.system("pip install -U huggingface_hub")
|
6 |
os.system("pip install -U diffusers")
|
7 |
'''
|
8 |
|
9 |
+
if os.path.exists("wuerstchen"):
|
10 |
+
shutil.rmtree("wuerstchen")
|
11 |
os.system("git clone https://huggingface.co/warp-ai/wuerstchen")
|
12 |
|
13 |
import sys
|