chore: Update pip installation command and requirements for Crawl4AI

This commit is contained in:
unclecode
2024-05-16 20:36:29 +08:00
parent 4006f5f4e2
commit 5bb0b0b378
3 changed files with 9 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ def load_spacy_model():
model_folder = os.path.join(home_folder, name)
# Check if the model directory already exists
if True or not (Path(model_folder).exists() and any(Path(model_folder).iterdir())):
if not (Path(model_folder).exists() and any(Path(model_folder).iterdir())):
repo_url = "https://github.com/unclecode/crawl4ai.git"
# branch = "main"
branch = MODEL_REPO_BRANCH