feat: require offline PaddleOCR model assets

This commit is contained in:
2026-09-25 11:40:42 +08:00
parent 1dddceefc7
commit 1605ae6410
5 changed files with 34 additions and 5 deletions
+1
View File
@@ -19,6 +19,7 @@ class Settings(BaseSettings):
embedding_model_name: str = "BAAI/bge-m3"
embedding_model_path: Path = Path("/models/bge-m3")
embedding_model_version: str = "local"
ocr_model_dir: Path = Path("/models/ocr")
model_timeout_seconds: int = 120
model_concurrency: int = 2
model_retries: int = 2