ysakhale commited on
Commit
3ca1fe0
·
verified ·
1 Parent(s): bddffd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
 
2
  import math
3
  import gradio
 
1
+ import os, shutil
2
+ for cache_dir in ["/root/.cache/huggingface", "/root/.cache/torch", "/root/.cache/autogluon"]:
3
+ if os.path.exists(cache_dir):
4
+ shutil.rmtree(cache_dir, ignore_errors=True)
5
+
6
 
7
  import math
8
  import gradio