Health-Risk-Profiler / preload_models.py
AISENH
feat: Initial project upload
1a08f36
Raw
History Blame Contribute Delete
242 Bytes
import easyocr
# This script is run only once when the Docker image is built.
# It forces EasyOCR to download its language models.
print("Downloading EasyOCR models...")
reader = easyocr.Reader(['en'])
print("Model download complete.")