svjack commited on
Commit
e6ec7fb
·
1 Parent(s): 22a7171

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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