Hmmm / setup.sh
mobenta's picture
Update setup.sh
577cc55 verified
raw
history blame
521 Bytes
#!/bin/bash
# Print the current working directory for debugging
echo "Current working directory: $(pwd)"
# Clone the ComfyUI repository if it doesn't exist
if [ ! -d "ComfyUI" ]; then
echo "Cloning the ComfyUI repository..."
git clone -b totoro4 https://github.com/camenduru/ComfyUI.git
fi
# Verify the clone
if [ ! -d "ComfyUI/totoro_extras" ]; then
echo "Error: Failed to clone the ComfyUI repository or 'totoro_extras' directory is missing."
exit 1
else
echo "ComfyUI repository cloned successfully."
fi