loading reflex, but no site, to avoid removing imports
Browse files- Dockerfile +1 -0
- requirements.txt +29 -0
Dockerfile
CHANGED
@@ -12,6 +12,7 @@ WORKDIR .
|
|
12 |
|
13 |
RUN pip install --no-cache-dir --upgrade -r app/requirements.txt
|
14 |
# ^ no caching of the packages to save space
|
|
|
15 |
|
16 |
# RUN python -c "import nltk; nltk.download('stopwords')"
|
17 |
# ^ to fix runtime error, see https://github.com/run-llama/llama_index/issues/10681
|
|
|
12 |
|
13 |
RUN pip install --no-cache-dir --upgrade -r app/requirements.txt
|
14 |
# ^ no caching of the packages to save space
|
15 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
16 |
|
17 |
# RUN python -c "import nltk; nltk.download('stopwords')"
|
18 |
# ^ to fix runtime error, see https://github.com/run-llama/llama_index/issues/10681
|
requirements.txt
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
reflex==0.5.4
|
2 |
+
|
3 |
+
# we only need reflex but reflex deploy proposed to all the used
|
4 |
+
# packages to be added to the requirements.txt file
|
5 |
+
# but they should have been added to the app/requirements.txt file
|
6 |
+
|
7 |
+
# DO NOT USE, they cause issues while loading them on HF, even when
|
8 |
+
# I moved them to the app/requirements.txt file
|
9 |
+
|
10 |
+
# detoxify==0.5.2
|
11 |
+
# email_validator==2.1.2
|
12 |
+
# en-core-web-lg==3.7.1
|
13 |
+
# fastapi-cli==0.0.4
|
14 |
+
# fastparquet==2024.2.0
|
15 |
+
# guardrails-ai==0.4.2
|
16 |
+
# httptools==0.6.1
|
17 |
+
# langchain==0.1.20
|
18 |
+
# litellm==1.37.12
|
19 |
+
# llama-index==0.10.37
|
20 |
+
# pdfplumber==0.11.0
|
21 |
+
# presidio-analyzer==2.2.354
|
22 |
+
# presidio-anonymizer==2.2.354
|
23 |
+
# PyMuPDF==1.24.3
|
24 |
+
# PyPDF2==3.0.1
|
25 |
+
# sentence-transformers==2.7.0
|
26 |
+
# shellingham==1.5.4
|
27 |
+
# ujson==5.10.0
|
28 |
+
# uvloop==0.19.0
|
29 |
+
# weaviate-client==4.5.4
|