chatbot / requirements.txt
stevafernandes's picture
Upload requirements.txt
d821a31 verified
Raw
History Blame Contribute Delete
458 Bytes
# NOTE: Do NOT pin gradio here — Hugging Face Spaces injects its own
# (gradio==5.49.1 for this Space's SDK version). Pinning it caused the build
# to fail with a version conflict. We only pin the extra libraries we add, and
# constrain google-genai + pydantic to versions compatible with that gradio
# (gradio 5.49.1 requires pydantic<2.12).
google-genai==1.39.1
pydantic>=2.0,<2.12
numpy>=1.24
pypdf>=4.0
pdf2image>=1.17
pytesseract>=0.3.10
pillow>=10.0