Skip to content

Commit

Permalink
fix: package dependency. (#234)
Browse files Browse the repository at this point in the history
* fix package

* fix lint
  • Loading branch information
you-n-g authored Aug 31, 2024
1 parent 97cf394 commit 46be295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions rdagent/components/document_reader/document_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
import requests
from azure.ai.formrecognizer import DocumentAnalysisClient
from azure.core.credentials import AzureKeyCredential
from langchain.document_loaders import (
OnlinePDFLoader,
PyPDFDirectoryLoader,
PyPDFLoader,
)
from langchain_community.document_loaders import PyPDFDirectoryLoader, PyPDFLoader
from PIL import Image

if TYPE_CHECKING:
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pandarallel # parallelize pandas
feedparser
matplotlib
langchain
langchain-community
tiktoken
pymupdf # Extract shotsreens from pdf

Expand Down Expand Up @@ -68,4 +69,4 @@ st-theme

# kaggle crawler
selenium
kaggle
kaggle

0 comments on commit 46be295

Please sign in to comment.