MikaelTradera commited on
Commit
af7e1c4
1 Parent(s): df365a6

Upload ipadapter.sh

Browse files
Files changed (1) hide show
  1. ipadapter.sh +15 -0
ipadapter.sh ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Paths where the files should be copied to
4
+ CLIP_L_PATH="ComfyUI/models/clip_vision/"
5
+ FLUX_IP_ADAPTER_PATH="ComfyUI/models/xlabs/ipadapters/"
6
+
7
+ # Create the directories if they don't exist
8
+ mkdir -p $CLIP_L_PATH
9
+ mkdir -p $FLUX_IP_ADAPTER_PATH
10
+
11
+ echo "Copying Clip-L model to $CLIP_L_PATH..."
12
+ cp ./model.safetensors $CLIP_L_PATH
13
+
14
+ echo "Copying Flux IP Adapter to $FLUX_IP_ADAPTER_PATH..."
15
+ cp ./flux-ip-adapter.safetensors $FLUX_IP_ADAPTER_PATH