From e02338436b874a21217f710cb51eed359f02e109 Mon Sep 17 00:00:00 2001 From: Ray Dumasia Date: Tue, 21 Oct 2025 21:33:13 +0100 Subject: [PATCH] Add in .env.example for setting ports, fix upload limit, fix bounding box, can now dismiss previous image, change markdown expectation to HTML - not MD. updated README with nvidia driver/container instructions --- .env.example | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..3d6887a --- /dev/null +++ b/.env.example @@ -0,0 +1,20 @@ +# DeepSeek OCR Application Configuration + +# API Configuration +API_HOST=0.0.0.0 +API_PORT=8000 + +# Frontend Configuration +FRONTEND_PORT=3000 + +# Model Configuration +MODEL_NAME=deepseek-ai/DeepSeek-OCR +HF_HOME=/models + +# Upload Configuration +MAX_UPLOAD_SIZE_MB=100 + +# Processing Configuration +BASE_SIZE=1024 +IMAGE_SIZE=640 +CROP_MODE=true