Nighty3912 commited on
Commit
0fecd92
·
verified ·
1 Parent(s): 72bcfb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -33,10 +33,6 @@ from u2net import U2NETP
33
  # Create a cache folder for models
34
  # ---------------------
35
  CACHE_DIR = os.path.join(os.path.dirname(__file__), ".cache")
36
-
37
- # Now you can check and remove it safely
38
- if os.path.exists(CACHE_DIR):
39
- shutil.rmtree(CACHE_DIR)
40
  os.makedirs(CACHE_DIR, exist_ok=True)
41
 
42
  # ---------------------
 
33
  # Create a cache folder for models
34
  # ---------------------
35
  CACHE_DIR = os.path.join(os.path.dirname(__file__), ".cache")
 
 
 
 
36
  os.makedirs(CACHE_DIR, exist_ok=True)
37
 
38
  # ---------------------