OCR Worker 改用 RapidOCR/ONNX,修复 Paddle SIGILL。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user