From 95706db8aeff726ee6b9def3b4b9d92f0435f573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Paulo=20P=C3=A9rez-Tejada?= Date: Tue, 24 Sep 2024 22:04:17 -0600 Subject: [PATCH] Dev (#30) * refactor: separate app components * Add multiple pages (#22) * Update README.md * Change names of pages * Disable pylint rules * refactor: separate app components * Change names of pages * Disable pylint rules * Update app and dependencies * Update requirements.txt * Update wk_flow_requirements.txt * Fit versions with HF * Update pylint.yml --- .github/workflows/pylint.yml | 3 ++- .python-version | 2 +- requirements.txt | 7 ++++--- wk_flow_requirements.txt | 7 ++++--- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 1868bd0..b31314d 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -18,6 +18,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -r wk_flow_requirements.txt + pip install pylint - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') \ No newline at end of file + pylint $(git ls-files '*.py') diff --git a/.python-version b/.python-version index d9506ce..1445aee 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.12.5 +3.10.14 diff --git a/requirements.txt b/requirements.txt index cce75cf..8c04ca6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,9 @@ chromadb==0.5.7 fitz==0.0.1.dev2 -langchain==0.3.0 +langchain-community==0.3.0 +langchain_openai==0.2.0 openai==1.47.1 python-dotenv==1.0.1 -streamlit==1.35.0 +streamlit==1.38.0 tiktoken==0.7.0 -pylint +PyMuPDF==1.24.10 diff --git a/wk_flow_requirements.txt b/wk_flow_requirements.txt index cce75cf..8c04ca6 100644 --- a/wk_flow_requirements.txt +++ b/wk_flow_requirements.txt @@ -1,8 +1,9 @@ chromadb==0.5.7 fitz==0.0.1.dev2 -langchain==0.3.0 +langchain-community==0.3.0 +langchain_openai==0.2.0 openai==1.47.1 python-dotenv==1.0.1 -streamlit==1.35.0 +streamlit==1.38.0 tiktoken==0.7.0 -pylint +PyMuPDF==1.24.10