ocr / requirements.txt
iammraat's picture
Update requirements.txt
38dde58 verified
raw
history blame contribute delete
848 Bytes
#torch
#transformers
#gradio
#pillow
#sentencepiece
#protobuf
# Core ML libraries (LOCKED + COMPATIBLE)
#torch==2.0.1
#torchvision==0.15.2
#transformers==4.36.2
#numpy<2.0.0
#Pillow
#gradio==4.44.0
#sentencepiece
#protobuf
#opencv-python==4.9.0.80
#craft-text-detector
# ===== LOCKED + STABLE FOR HF SPACES =====
# ===== HF SPACES SAFE RUNTIME =====
#torch==1.13.1
#torchvision==0.14.1
#transformers==4.36.2
#numpy<2.0.0
#Pillow
#gradio==4.16.0
#sentencepiece
#protobuf<4
#opencv-python==4.5.4.60
#craft-text-detector==0.4.3
#=============================================================
torch
transformers
numpy<2.0.0
Pillow
gradio==4.16.0
sentencepiece
protobuf
opencv-python-headless
# New Detection Library
paddlepaddle==2.6.2
paddleocr==2.7.0.3
scikit-learn>=1.3.0
scipy>=1.11.0
pandas>=2.0.0
huggingface-hub==0.19.4