Skip to content

Commit

Permalink
try fix python not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
cyntachs committed Jun 25, 2024
1 parent 6eb8c41 commit 90eaf73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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
pip install -r requirements.txt
pip3 install -r requirements.txt

cd /stable-diffusion/custom_nodes

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

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

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

cd /stable-diffusion
echo "Starting ComfyUI..."
python -u main.py --listen --port 5555 ${CLI_ARGS}
python3 -u main.py --listen --port 5555 ${CLI_ARGS}

0 comments on commit 90eaf73

Please sign in to comment.