Spaces:
Sleeping
Sleeping
Create requirements.txt
Browse files- requirements.txt +40 -0
requirements.txt
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Streamlit for the web interface
|
2 |
+
streamlit==1.24.0
|
3 |
+
|
4 |
+
# Transformers and datasets for working with RAG and language models
|
5 |
+
transformers==4.30.0
|
6 |
+
datasets
|
7 |
+
|
8 |
+
# FAISS for vector search and retrieval
|
9 |
+
faiss-cpu==1.7.2
|
10 |
+
|
11 |
+
# Torch for model inference
|
12 |
+
torch==1.11.0
|
13 |
+
|
14 |
+
# PDF handling
|
15 |
+
pdfplumber==0.7.4
|
16 |
+
|
17 |
+
# Pandas for CSV handling
|
18 |
+
pandas==2.1.1
|
19 |
+
|
20 |
+
# Hugging Face Hub for downloading and managing models
|
21 |
+
huggingface-hub>=0.19
|
22 |
+
|
23 |
+
# HF Transfer for model download optimizations
|
24 |
+
hf-transfer>=0.1.4
|
25 |
+
|
26 |
+
# Protobuf for model file compatibility
|
27 |
+
protobuf<4
|
28 |
+
|
29 |
+
# Pydantic for data validation
|
30 |
+
pydantic>=2.0
|
31 |
+
|
32 |
+
# Click for command-line interaction compatibility
|
33 |
+
click<8.1
|
34 |
+
|
35 |
+
# Numpy for matrix operations and numerical computations
|
36 |
+
numpy==1.23.0
|
37 |
+
|
38 |
+
# Optional: pytesseract and Pillow for OCR if necessary for PDFs without extractable text
|
39 |
+
pytesseract==0.3.9
|
40 |
+
Pillow==9.4.0
|