LiamKhoaLe commited on
Commit
d5e8ec5
·
1 Parent(s): efd3ed6

Update app migration of dir

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ os.environ["TOKENIZERS_PARALLELISM"] = "false"
62
  hf_cache_dir = "/home/user/.cache/huggingface"
63
  # Model storage location
64
  hf_cache_dir = "/home/user/.cache/huggingface"
65
- model_cache_dir = "/app/model_cache/model"
66
  os.environ["HF_HOME"] = hf_cache_dir
67
  os.environ["SENTENCE_TRANSFORMERS_HOME"] = hf_cache_dir
68
  # 3. Download (or load from cache) the SentenceTransformer model
 
62
  hf_cache_dir = "/home/user/.cache/huggingface"
63
  # Model storage location
64
  hf_cache_dir = "/home/user/.cache/huggingface"
65
+ model_cache_dir = "/app/model_cache"
66
  os.environ["HF_HOME"] = hf_cache_dir
67
  os.environ["SENTENCE_TRANSFORMERS_HOME"] = hf_cache_dir
68
  # 3. Download (or load from cache) the SentenceTransformer model