yizhangliu commited on
Commit
344868a
1 Parent(s): de5109e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -54,6 +54,8 @@ os.environ["NUMEXPR_NUM_THREADS"] = NUM_THREADS
54
  if os.environ.get("CACHE_DIR"):
55
  os.environ["TORCH_HOME"] = os.environ["CACHE_DIR"]
56
 
 
 
57
  BUILD_DIR = os.environ.get("LAMA_CLEANER_BUILD_DIR", "app/build")
58
 
59
  from share_btn import community_icon_html, loading_icon_html, share_js
 
54
  if os.environ.get("CACHE_DIR"):
55
  os.environ["TORCH_HOME"] = os.environ["CACHE_DIR"]
56
 
57
+ os.environ["TORCH_HOME"] = './'
58
+
59
  BUILD_DIR = os.environ.get("LAMA_CLEANER_BUILD_DIR", "app/build")
60
 
61
  from share_btn import community_icon_html, loading_icon_html, share_js