MCPcopy Index your code
hub / github.com/unclecode/crawl4ai / get_home_folder

Function get_home_folder

crawl4ai/model_loader.py:58–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56
57@lru_cache()
58def get_home_folder():
59 home_folder = os.path.join(Path.home(), ".crawl4ai")
60 os.makedirs(home_folder, exist_ok=True)
61 os.makedirs(f"{home_folder}/cache", exist_ok=True)
62 os.makedirs(f"{home_folder}/models", exist_ok=True)
63 return home_folder
64
65@lru_cache()
66def load_bert_base_uncased():

Callers 2

load_spacy_modelFunction · 0.70
download_all_modelsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…