ChatBot / requirements.txt
project21's picture
Create requirements.txt
33f1e5a verified
# Core
gradio>=4.0.0
transformers>=4.40.0
torch>=2.1.0
accelerate>=0.27.0
sentencepiece>=0.2.0
bitsandbytes>=0.42.0
# Vision & image processing
Pillow>=10.0.0
# OCR options
paddleocr>=2.7.0.3
paddlepaddle>=2.5.2 # CPU build; change to paddlepaddle-gpu if GPU available
pytesseract>=0.3.10
# Utilities
numpy>=1.26.0
scipy>=1.11.0
# Optional (helps with performance and tokenizer issues)
protobuf>=4.25.0
regex