diff --git a/start.5090.sh b/start.5090.sh index d4ab31e..fe9ff86 100644 --- a/start.5090.sh +++ b/start.5090.sh @@ -185,6 +185,10 @@ if [ ! -d "$COMFYUI_DIR" ] || [ ! -d "$VENV_DIR" ]; then python -m ensurepip --upgrade python -m pip install --upgrade pip + # Update ComfyUI dependencies (frontend, etc.) + echo "Installing ComfyUI requirements..." + pip install -r "$COMFYUI_DIR/requirements.txt" + echo "Base packages (torch cu128, numpy, etc.) available from system site-packages" echo "Installing custom node dependencies..." @@ -219,6 +223,10 @@ else # Just activate the existing venv source $VENV_DIR/bin/activate + # Update ComfyUI dependencies on each start (ensures frontend stays current) + echo "Updating ComfyUI dependencies..." + pip install -q -r "$COMFYUI_DIR/requirements.txt" + echo "Checking for custom node dependencies..." # Install dependencies for all custom nodes diff --git a/start.sh b/start.sh index 1611463..e960191 100644 --- a/start.sh +++ b/start.sh @@ -185,6 +185,10 @@ if [ ! -d "$COMFYUI_DIR" ] || [ ! -d "$VENV_DIR" ]; then python -m ensurepip --upgrade python -m pip install --upgrade pip + # Update ComfyUI dependencies (frontend, etc.) + echo "Installing ComfyUI requirements..." + pip install -r "$COMFYUI_DIR/requirements.txt" + echo "Base packages (torch, numpy, etc.) available from system site-packages" echo "Installing custom node dependencies..." @@ -219,6 +223,10 @@ else # Just activate the existing venv source $VENV_DIR/bin/activate + # Update ComfyUI dependencies on each start (ensures frontend stays current) + echo "Updating ComfyUI dependencies..." + pip install -q -r "$COMFYUI_DIR/requirements.txt" + echo "Checking for custom node dependencies..." # Install dependencies for all custom nodes