Enhance service selection wizard and update PaddleOCR details in final report

- Adjusted the service selection wizard to dynamically set the height of the checklist based on the number of services.
- Updated final report script to provide clearer API access information for PaddleOCR, distinguishing between external and internal access.
This commit is contained in:
Yury Kossakovsky
2025-08-27 13:55:42 -06:00
parent c846f2ae31
commit f51cda8e20
2 changed files with 5 additions and 2 deletions

View File

@@ -105,8 +105,10 @@ while [ $idx -lt ${#base_services_data[@]} ]; do
done
# Use whiptail to display the checklist
num_services=$(( ${#services[@]} / 3 ))
list_height=$(( num_services + 4 ))
CHOICES=$(whiptail --title "Service Selection Wizard" --checklist \
"Choose the services you want to deploy.\nUse ARROW KEYS to navigate, SPACEBAR to select/deselect, ENTER to confirm." 32 90 22 \
"Choose the services you want to deploy.\nUse ARROW KEYS to navigate, SPACEBAR to select/deselect, ENTER to confirm." 32 90 $list_height \
"${services[@]}" \
3>&1 1>&2 2>&3)

View File

@@ -200,7 +200,8 @@ if is_profile_active "paddleocr"; then
echo "================================= PaddleOCR ==========================="
echo
echo "Host: ${PADDLEOCR_HOSTNAME:-<hostname_not_set>}"
echo "Internal Access (HTTP): http://paddleocr:8080"
echo "API (external via Caddy): https://${PADDLEOCR_HOSTNAME:-<hostname_not_set>}"
echo "API (internal): http://paddleocr:8080"
echo "Notes: PaddleX Basic Serving (CPU), pipeline=OCR"
fi