From 45c0e2e6cabf26a3bdda91e0b2006b860f950c3d Mon Sep 17 00:00:00 2001 From: leehk Date: Thu, 6 Mar 2025 11:59:15 +0800 Subject: [PATCH] UPDATE --- .github/workflows/app-testing.yml | 5 +++++ app/streamlit/requirements-dev.txt | 5 +++++ app/streamlit/requirements.txt | 8 ++++++++ 3 files changed, 18 insertions(+) create mode 100644 app/streamlit/requirements-dev.txt create mode 100644 app/streamlit/requirements.txt diff --git a/.github/workflows/app-testing.yml b/.github/workflows/app-testing.yml index d906d8c..5ab69c0 100644 --- a/.github/workflows/app-testing.yml +++ b/.github/workflows/app-testing.yml @@ -17,6 +17,11 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.11' + - name: Install dependencies + run: | + cd app/streamlit + python -m pip install --upgrade pip + pip install -r requirements.txt - uses: streamlit/streamlit-app-action@v0.0.3 with: app-path: app/streamlit/Chatbot.py diff --git a/app/streamlit/requirements-dev.txt b/app/streamlit/requirements-dev.txt new file mode 100644 index 0000000..8635be6 --- /dev/null +++ b/app/streamlit/requirements-dev.txt @@ -0,0 +1,5 @@ +black==23.3.0 +mypy==1.4.1 +pre-commit==3.3.3 +watchdog +pytest diff --git a/app/streamlit/requirements.txt b/app/streamlit/requirements.txt new file mode 100644 index 0000000..3645968 --- /dev/null +++ b/app/streamlit/requirements.txt @@ -0,0 +1,8 @@ +streamlit>=1.28 +langchain>=0.0.217 +openai>=1.2 +duckduckgo-search +anthropic>=0.3.0 +trubrics>=1.4.3 +streamlit-feedback +langchain-community