Files
wehub-resource-sync e904b667c6
Build/Publish Develop Docs / deploy (push) Failing after 1s
PaddleOCR Code Style Check / check-code-style (push) Failing after 1s
PaddleOCR PR Tests GPU / detect-changes (push) Failing after 1s
PaddleOCR PR Tests / detect-changes (push) Failing after 1s
PaddleOCR PR Tests GPU / test-pr-gpu (push) Has been cancelled
PaddleOCR PR Tests / test-pr (push) Has been cancelled
PaddleOCR PR Tests GPU / test-pr-gpu-impl (push) Has been cancelled
PaddleOCR PR Tests / test-pr-python (3.13) (push) Has been cancelled
PaddleOCR PR Tests / test-pr-python (3.8) (push) Has been cancelled
PaddleOCR PR Tests / test-pr-python (3.9) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 11:59:26 +08:00

24 lines
451 B
Bash
Executable File

#!/usr/bin/env sh
set -eu
CONFIG="${PIPELINE_CONFIG:-/config/pipeline_config.yaml}"
VLM_NAME=$(
grep -A5 'module_name: vl_recognition' "$CONFIG" \
| grep 'model_name:' \
| head -1 \
| awk '{print $2}'
)
if [ -z "$VLM_NAME" ]; then
echo "Failed to read VLM name from ${CONFIG}" >&2
exit 1
fi
exec paddleocr genai_server \
--model_name "$VLM_NAME" \
--host 0.0.0.0 \
--port 8080 \
--backend vllm