Skip to content

Commit

Permalink
Link flux to comfyui
Browse files Browse the repository at this point in the history
  • Loading branch information
H3mul committed Aug 30, 2024
1 parent e9bd94d commit e56fbf6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/pre_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,9 @@ if [ "${DISABLE_MODEL_DOWNLOAD}" != true ]; then
echo "Linking InvokeAI..."
ln -fs /workspace/models/main/sd_xl_base_1.0_0.9vae.safetensors ${INVOKEAI_ROOT}/autoimport/sd_xl_base_1.0_0.9vae.safetensors
ln -fs /workspace/models/main/sd_xl_refiner_1.0_0.9vae.safetensors ${INVOKEAI_ROOT}/autoimport/sd_xl_refiner_1.0_0.9vae.safetensors

echo "Linking ComfyUI..."
ln -fs /workspace/models/main/sd_xl_base_1.0_0.9vae.safetensors ${COMFYUI_ROOT}/models/checkpoints/sd_xl_base_1.0_0.9vae.safetensors
ln -fs /workspace/models/main/sd_xl_refiner_1.0_0.9vae.safetensors ${COMFYUI_ROOT}/models/checkpoints/sd_xl_refiner_1.0_0.9vae.safetensors
ln -fs /workspace/models/main/flux1-dev-fp8.safetensors ${COMFYUI_ROOT}/models/checkpoints/flux1-dev-fp8.safetensors
fi

0 comments on commit e56fbf6

Please sign in to comment.