Added Documentation
This commit is contained in:
+9
-5
@@ -1,17 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "🔧 Installing dependencies for ComfyUI_UploadToWebHook..."
|
||||
echo "🔧 Installing dependencies for ComfyUI_LoadImageFromHttpURL..."
|
||||
|
||||
# Exit immediately if a command exits with a non-zero status
|
||||
# Exit immediately on error
|
||||
set -e
|
||||
|
||||
# Activate venv if in ComfyUI RunPod or similar
|
||||
# Activate virtual environment if it exists
|
||||
if [ -d "../../venv" ]; then
|
||||
echo "📦 Activating virtual environment..."
|
||||
echo "📦 Activating ComfyUI virtual environment..."
|
||||
source ../../venv/bin/activate
|
||||
else
|
||||
echo "⚠️ No virtual environment found at ../../venv"
|
||||
echo "➡️ Continuing with system/global Python environment"
|
||||
fi
|
||||
|
||||
# Install requirements
|
||||
# Install required packages
|
||||
echo "📥 Installing from requirements.txt..."
|
||||
pip install -r requirements.txt
|
||||
|
||||
echo "✅ Installation complete!"
|
||||
|
||||
Reference in New Issue
Block a user