Spaces:
Sleeping
Sleeping
suh4s
commited on
Commit
·
fb9fb7d
1
Parent(s):
418c606
Fix dependency conflicts and use requirements.txt instead of pyproject.toml
Browse files- Dockerfile +3 -4
- pyproject.toml +1 -1
- requirements.txt +18 -0
- setup.cfg +20 -0
Dockerfile
CHANGED
@@ -20,13 +20,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
20 |
# Set working directory
|
21 |
WORKDIR $HOME/app
|
22 |
|
23 |
-
# Copy requirements
|
24 |
-
COPY --chown=user
|
25 |
-
COPY --chown=user setup.cfg .
|
26 |
|
27 |
# Install pip and dependencies
|
28 |
RUN pip install --upgrade pip setuptools wheel
|
29 |
-
RUN pip install -
|
30 |
|
31 |
# Copy application files
|
32 |
COPY --chown=user app.py .
|
|
|
20 |
# Set working directory
|
21 |
WORKDIR $HOME/app
|
22 |
|
23 |
+
# Copy requirements file
|
24 |
+
COPY --chown=user requirements.txt .
|
|
|
25 |
|
26 |
# Install pip and dependencies
|
27 |
RUN pip install --upgrade pip setuptools wheel
|
28 |
+
RUN pip install -r requirements.txt
|
29 |
|
30 |
# Copy application files
|
31 |
COPY --chown=user app.py .
|
pyproject.toml
CHANGED
@@ -19,7 +19,7 @@ dependencies = [
|
|
19 |
"langgraph==0.2.61",
|
20 |
"lxml==5.3.1",
|
21 |
"nltk==3.8.1",
|
22 |
-
"numpy
|
23 |
"pyarrow==19.0.1",
|
24 |
"pymupdf==1.25.3",
|
25 |
"python-dotenv>=1.0.1",
|
|
|
19 |
"langgraph==0.2.61",
|
20 |
"lxml==5.3.1",
|
21 |
"nltk==3.8.1",
|
22 |
+
"numpy>=1.25.0,<2.0.0",
|
23 |
"pyarrow==19.0.1",
|
24 |
"pymupdf==1.25.3",
|
25 |
"python-dotenv>=1.0.1",
|
requirements.txt
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
chainlit==2.2.1
|
2 |
+
langchain-community==0.3.14
|
3 |
+
langchain-openai==0.2.14
|
4 |
+
langchain-core==0.3.5
|
5 |
+
langgraph==0.2.61
|
6 |
+
openai>=1.18.0
|
7 |
+
python-dotenv>=1.0.1
|
8 |
+
fpdf==1.7.2
|
9 |
+
tavily-python>=0.1.18
|
10 |
+
websockets>=15.0
|
11 |
+
numpy>=1.25.0,<2.0.0
|
12 |
+
|
13 |
+
# For planned RAG implementation
|
14 |
+
faiss-cpu==1.10.0
|
15 |
+
langchain-qdrant==0.2.0
|
16 |
+
sentence-transformers==3.4.1
|
17 |
+
ragas==0.2.10
|
18 |
+
datasets==3.3.1
|
setup.cfg
CHANGED
@@ -1,5 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
[options]
|
|
|
2 |
packages = find:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
[options.packages.find]
|
5 |
exclude =
|
|
|
1 |
+
[metadata]
|
2 |
+
name = InsightFlow-AI
|
3 |
+
version = 0.1.0
|
4 |
+
description = Multi-perspective research assistant
|
5 |
+
author = Suhas
|
6 |
+
author_email = suhas@example.com
|
7 |
+
license = MIT
|
8 |
+
|
9 |
[options]
|
10 |
+
python_requires = >=3.11
|
11 |
packages = find:
|
12 |
+
install_requires =
|
13 |
+
chainlit>=2.2.1
|
14 |
+
langchain-community>=0.3.14
|
15 |
+
langchain-openai>=0.2.14
|
16 |
+
langgraph>=0.2.61
|
17 |
+
numpy>=1.25.0,<2.0.0
|
18 |
+
|
19 |
+
[options.packages.find]
|
20 |
+
exclude =
|
21 |
+
tests
|
22 |
+
examples
|
23 |
|
24 |
[options.packages.find]
|
25 |
exclude =
|