Skip to content

Commit 66c4dd1

Browse files
Merge pull request #47 from 28ananthaprakash/fix/type-error-during-initialization
Fix: Add transformers version constraints to resolve TypeError
2 parents b02ac41 + d76b843 commit 66c4dd1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,6 @@ cython_debug/
172172

173173
# PyPI configuration file
174174
.pypirc
175+
176+
# Gradio related files
177+
.gradio/

requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ loguru
66
mdpd
77
numpy
88
pandas
9+
pdf2image
910
PyMuPDF
1011
python-dotenv
1112
python-levenshtein==0.27.1
1213
requests
1314
setuptools
1415
tabulate
1516
tenacity
17+
transformers>=4.51.1,<4.53.0
1618
types-requests
17-
vllm==v0.8.3
18-
xgrammar==0.1.17
19-
pdf2image
19+
vllm==0.8.3
20+
xgrammar==0.1.17

0 commit comments

Comments
 (0)