Fix bug reported in issue https://github.com/unclecode/crawl4ai/issues/396
This commit is contained in:
@@ -2,7 +2,6 @@ import subprocess
|
|||||||
import sys
|
import sys
|
||||||
import asyncio
|
import asyncio
|
||||||
from .async_logger import AsyncLogger, LogLevel
|
from .async_logger import AsyncLogger, LogLevel
|
||||||
from .docs_manager import DocsManager
|
|
||||||
|
|
||||||
# Initialize logger
|
# Initialize logger
|
||||||
logger = AsyncLogger(log_level=LogLevel.DEBUG, verbose=True)
|
logger = AsyncLogger(log_level=LogLevel.DEBUG, verbose=True)
|
||||||
@@ -45,7 +44,3 @@ def run_migration():
|
|||||||
logger.warning(f"Database initialization failed: {e}")
|
logger.warning(f"Database initialization failed: {e}")
|
||||||
logger.warning("Database will be initialized on first use")
|
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()
|
|
||||||
@@ -15,3 +15,5 @@ colorama~=0.4
|
|||||||
snowballstemmer~=2.2
|
snowballstemmer~=2.2
|
||||||
pydantic>=2.10
|
pydantic>=2.10
|
||||||
pyOpenSSL>=24.3.0
|
pyOpenSSL>=24.3.0
|
||||||
|
psutil>=6.1.1
|
||||||
|
nltk>=3.9.1
|
||||||
Reference in New Issue
Block a user