OCR Worker 改用 RapidOCR/ONNX,修复 Paddle SIGILL。

This commit is contained in:
dekun
2026-06-28 15:27:59 +08:00
parent 035b65dcc8
commit 4de460c235
5 changed files with 34 additions and 108 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ ROOT="$(cd "$(dirname "$0")" && pwd)"
VENV="${ROOT}/.venv"
PORT="${OCR_PORT:-23567}"
export OCR_USE_GPU="${OCR_USE_GPU:-true}"
export OCR_USE_GPU="${OCR_USE_GPU:-false}"
export OCR_HOST="${OCR_HOST:-0.0.0.0}"
if [[ ! -d "${VENV}" ]]; then