ian commited on
Commit
df666e3
1 Parent(s): 19b9c91

don't overwrite hf cache dir

Browse files
Files changed (1) hide show
  1. flowsettings.py +2 -2
flowsettings.py CHANGED
@@ -23,8 +23,8 @@ KH_USER_DATA_DIR.mkdir(parents=True, exist_ok=True)
23
  # HF models can be big, let's store them in the app data directory so that it's easier
24
  # for users to manage their storage.
25
  # ref: https://huggingface.co/docs/huggingface_hub/en/guides/manage-cache
26
- os.environ["HF_HOME"] = str(KH_APP_DATA_DIR / "huggingface")
27
- os.environ["HF_HUB_CACHE"] = str(KH_APP_DATA_DIR / "huggingface")
28
 
29
  COHERE_API_KEY = config("COHERE_API_KEY", default="")
30
  KH_MODE = "dev"
 
23
  # HF models can be big, let's store them in the app data directory so that it's easier
24
  # for users to manage their storage.
25
  # ref: https://huggingface.co/docs/huggingface_hub/en/guides/manage-cache
26
+ # os.environ["HF_HOME"] = str(KH_APP_DATA_DIR / "huggingface")
27
+ # os.environ["HF_HUB_CACHE"] = str(KH_APP_DATA_DIR / "huggingface")
28
 
29
  COHERE_API_KEY = config("COHERE_API_KEY", default="")
30
  KH_MODE = "dev"