Skip to content

Commit

Permalink
Pin dependency (#131)
Browse files Browse the repository at this point in the history
Co-authored-by: James Kwon <[email protected]>
  • Loading branch information
james03160927 and james03160927 authored Jan 8, 2025
1 parent 0d0d039 commit 658065f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion node-pack-extract/provisioning.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#!/bin/bash
set -e

source /opt/environments/python/comfyui/bin/activate

echo "=========================="
echo "=== Pinning Dependencies ==="
echo "=========================="

pip install "numpy<2"

echo "==========================================="
echo "=== Downloading the custom node archive ==="
echo "==========================================="
Expand All @@ -14,7 +22,6 @@ echo "=== Installing the custom node ==="
echo "=================================="
unzip "${CUSTOM_NODE_NAME}.zip" -d "$CUSTOM_NODE_NAME"
cd "$CUSTOM_NODE_NAME"
source /opt/environments/python/comfyui/bin/activate
if [ -f "requirements.txt" ]; then
echo "=== installing dependencies from requirements.txt"
pip install -r requirements.txt
Expand Down

0 comments on commit 658065f

Please sign in to comment.