mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-17 01:52:59 +08:00
[ENV-4] Fix Nano Banana installation with correct repository URL
- Update repository URL from jeffy5 to ru4ls (correct repo) - Add pip install step for Nano Banana dependencies - Add CUSTOM_NODES_DIR variable to entrypoint script - Node now installs dependencies from requirements.txt automatically Repository: https://github.com/ru4ls/ComfyUI_Nano_Banana
This commit is contained in:
parent
4d4133bde0
commit
d94b0315ee
@ -7,6 +7,7 @@ set -e
|
|||||||
COMFYUI_DIR="/app/ComfyUI"
|
COMFYUI_DIR="/app/ComfyUI"
|
||||||
VENV_DIR="/app/venv"
|
VENV_DIR="/app/venv"
|
||||||
WORKDIR="${COMFYUI_DIR}"
|
WORKDIR="${COMFYUI_DIR}"
|
||||||
|
CUSTOM_NODES_DIR="${COMFYUI_DIR}/custom_nodes"
|
||||||
|
|
||||||
cd "${WORKDIR}"
|
cd "${WORKDIR}"
|
||||||
|
|
||||||
@ -61,7 +62,13 @@ fi
|
|||||||
if [ "${INSTALL_NANO_BANANA:-false}" = "true" ]; then
|
if [ "${INSTALL_NANO_BANANA:-false}" = "true" ]; then
|
||||||
echo "Installing Nano Banana custom node..."
|
echo "Installing Nano Banana custom node..."
|
||||||
export COMFYUI_DIR="${COMFYUI_DIR}"
|
export COMFYUI_DIR="${COMFYUI_DIR}"
|
||||||
comfy-node-install https://github.com/jeffy5/ComfyUI-Nano-Banana || echo "Warning: Nano Banana installation failed"
|
comfy-node-install https://github.com/ru4ls/ComfyUI_Nano_Banana || echo "Warning: Nano Banana clone failed"
|
||||||
|
|
||||||
|
# Install Nano Banana dependencies if requirements.txt exists
|
||||||
|
if [ -f "${CUSTOM_NODES_DIR}/ComfyUI_Nano_Banana/requirements.txt" ]; then
|
||||||
|
echo "Installing Nano Banana dependencies..."
|
||||||
|
pip install --no-cache-dir -r "${CUSTOM_NODES_DIR}/ComfyUI_Nano_Banana/requirements.txt" || echo "Warning: Nano Banana dependencies installation failed"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if OpenTelemetry endpoint is configured
|
# Check if OpenTelemetry endpoint is configured
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user