Skip to content

Commit

Permalink
added install requirements at every start
Browse files Browse the repository at this point in the history
  • Loading branch information
cyntachs committed Jun 25, 2024
1 parent 90eaf73 commit 5881b4c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ ! -f "/stable-diffusion/.installed" ]; then
echo "Installing ComfyUI..."
git clone https://github.com/comfyanonymous/ComfyUI.git /stable-diffusion
cd /stable-diffusion
pip3 install -r requirements.txt
#pip3 install -r requirements.txt

cd /stable-diffusion/custom_nodes

Expand All @@ -22,12 +22,15 @@ elif [ ! -f "/stable-diffusion/custom_nodes/ComfyUI-Manager/__init__.py" ]; then

git fetch https://github.com/comfyanonymous/ComfyUI.git
git pull
pip3 install -r requirements.txt
#pip3 install -r requirements.txt
fi;

echo "Set permissions..."
chown -R user:user /stable-diffusion

cd /stable-diffusion
echo "PIP Install Requirements..."
pip3 install -r requirements.txt

echo "Starting ComfyUI..."
python3 -u main.py --listen --port 5555 ${CLI_ARGS}

0 comments on commit 5881b4c

Please sign in to comment.