Update dependencies for fast installation (#811)

This commit is contained in:
Sidharth Mohanty
2023-10-17 20:51:30 +05:30
committed by GitHub
parent c336292346
commit 413b107b9a
9 changed files with 73 additions and 24 deletions

View File

@@ -3,7 +3,14 @@ import logging
from urllib.parse import urljoin, urlparse
import requests
from bs4 import BeautifulSoup
try:
from bs4 import BeautifulSoup
except ImportError:
raise ImportError(
'DocsSite requires extra dependencies. Install with `pip install --upgrade "embedchain[dataloaders]"`'
) from None
from embedchain.helper.json_serializable import register_deserializable
from embedchain.loaders.base_loader import BaseLoader