一键部署:主程序+OCR同机(screen/GPU),Ollama外置局域网。

This commit is contained in:
dekun
2026-06-28 14:44:51 +08:00
parent 9713c640b4
commit 357f61c57c
13 changed files with 329 additions and 75 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class Settings(BaseSettings):
OCR_MAX_SIDE: int = 1280
UPLOAD_MAX_SIDE: int = 2048
OCR_WARMUP: bool = True
OCR_SERVICE_URL: str = ""
OCR_SERVICE_URL: str = "http://127.0.0.1:23567"
OCR_API_KEY: str = ""
OCR_USE_GPU: bool = False