From 553c97a0c179f854549dcc5c600505d98f8149e6 Mon Sep 17 00:00:00 2001 From: UncleCode Date: Wed, 1 Jan 2025 15:15:14 +0800 Subject: [PATCH] Fix bug reported in issue https://github.com/unclecode/crawl4ai/issues/396 --- crawl4ai/install.py | 5 ----- requirements.txt | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/crawl4ai/install.py b/crawl4ai/install.py index 4a3f5d45..e54f0850 100644 --- a/crawl4ai/install.py +++ b/crawl4ai/install.py @@ -2,7 +2,6 @@ import subprocess import sys import asyncio from .async_logger import AsyncLogger, LogLevel -from .docs_manager import DocsManager # Initialize logger logger = AsyncLogger(log_level=LogLevel.DEBUG, verbose=True) @@ -45,7 +44,3 @@ def run_migration(): logger.warning(f"Database initialization failed: {e}") logger.warning("Database will be initialized on first use") -async def setup_docs(): - """Download documentation files""" - docs_manager = DocsManager(logger) - await docs_manager.update_docs() \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index fc616d5b..f676100e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,4 +14,6 @@ aiofiles>=24.1.0 colorama~=0.4 snowballstemmer~=2.2 pydantic>=2.10 -pyOpenSSL>=24.3.0 \ No newline at end of file +pyOpenSSL>=24.3.0 +psutil>=6.1.1 +nltk>=3.9.1 \ No newline at end of file