Muzammil6376 commited on
Commit
e735775
·
verified ·
1 Parent(s): d14cd38

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +8 -1
requirements.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  gradio==5.30.0
2
  langchain==0.3.25
3
  langchain-community==0.3.24
@@ -7,9 +10,13 @@ transformers==4.52.2
7
  torch==2.7.0
8
  faiss-cpu==1.8.0
9
  pymupdf==1.25.5
10
- PyPDF2
 
 
 
11
  chromadb==1.0.9
12
  tqdm==4.67.1
13
  unstructured[pdf]==0.17.2
14
  opencv-python==4.9.0.80
15
  peft==0.15.2
 
 
1
+ # Pin NumPy to <2.x so cv2 and unstructured_inference C-extensions remain compatible
2
+ numpy<2.0.0
3
+
4
  gradio==5.30.0
5
  langchain==0.3.25
6
  langchain-community==0.3.24
 
10
  torch==2.7.0
11
  faiss-cpu==1.8.0
12
  pymupdf==1.25.5
13
+
14
+ # Use pypdf instead of PyPDF2
15
+ pypdf2
16
+
17
  chromadb==1.0.9
18
  tqdm==4.67.1
19
  unstructured[pdf]==0.17.2
20
  opencv-python==4.9.0.80
21
  peft==0.15.2
22
+