SimranShaikh commited on
Commit
57dac86
·
verified ·
1 Parent(s): 9288843
Files changed (1) hide show
  1. requirements.txt +16 -26
requirements.txt CHANGED
@@ -1,35 +1,25 @@
1
- # Enterprise AI Assistant with RAG - HF Spaces Optimized Requirements
2
-
3
- # Web Framework
4
  streamlit>=1.28.0
5
 
6
- # Core ML Libraries
 
 
 
7
  torch>=2.0.0
8
- transformers>=4.35.0
9
  sentence-transformers>=2.2.2
10
 
11
- # Vector Database (with fallback support)
12
- chromadb>=0.4.15
13
-
14
- # Document Processing (essential only)
15
- PyPDF2>=3.0.1
16
- python-docx>=0.8.11
17
- beautifulsoup4>=4.12.2
18
-
19
- # Data Processing
20
- pandas>=2.0.0
21
  numpy>=1.24.0
22
  scikit-learn>=1.3.0
 
23
 
24
- # Utilities
25
- pathlib2>=2.3.7
26
- python-dateutil>=2.8.2
27
-
28
- # HF Spaces optimizations
29
- huggingface_hub>=0.17.0
30
 
31
- # Optional: Lightweight alternatives (uncomment if needed)
32
- # openpyxl>=3.1.2
33
- # chardet>=5.2.0
34
- # accelerate>=0.24.0
35
- # bitsandbytes>=0.41.0
 
1
+ # Core web framework
 
 
2
  streamlit>=1.28.0
3
 
4
+ # PDF processing
5
+ PyPDF2>=3.0.1
6
+
7
+ # Machine Learning and NLP
8
  torch>=2.0.0
9
+ transformers>=4.30.0
10
  sentence-transformers>=2.2.2
11
 
12
+ # Data processing and utilities
 
 
 
 
 
 
 
 
 
13
  numpy>=1.24.0
14
  scikit-learn>=1.3.0
15
+ pandas>=2.0.0
16
 
17
+ # Additional utilities (optional but recommended)
18
+ accelerate>=0.20.0
19
+ tokenizers>=0.13.0
20
+ huggingface-hub>=0.15.0
 
 
21
 
22
+ # For better performance (optional)
23
+ # uncomment if you have CUDA GPU
24
+ # torch-audio>=2.0.0
25
+ # torch-vision>=0.15.0