# Paths where the files should be copied to | |
CLIP_L_PATH="/workspace/ComfyUI/models/clip_vision/" | |
FLUX_IP_ADAPTER_PATH="/workspace/ComfyUI/models/xlabs/ipadapters/" | |
# Create the directories if they don't exist | |
mkdir -p $CLIP_L_PATH | |
mkdir -p $FLUX_IP_ADAPTER_PATH | |
echo "Copying Clip-L model to $CLIP_L_PATH..." | |
cp ./model.safetensors $CLIP_L_PATH | |
echo "Copying Flux IP Adapter to $FLUX_IP_ADAPTER_PATH..." | |
cp ./flux-ip-adapter.safetensors $FLUX_IP_ADAPTER_PATH | |