Skip to content

Commit

Permalink
add setup symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
ifsheldon committed Nov 23, 2023
1 parent ffaeba8 commit d495c79
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions setup_symlinks
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/zsh

# Assuming the share directory is mounted at /home/jenson/docker_share
cd /home/jenson/code/stable-diffusion-webui/models
# Remove existing dirs
rm -rf Lora
rm -rf Stable-diffusion
# Create symlinks
ln -sf /home/jenson/docker_share/aigc-model-weights/Stable-diffusion Stable-diffusion
ln -sf /home/jenson/docker_share/aigc-model-weights/Lora Lora
ln -sf /home/jenson/docker_share/aigc-model-weights/embeddings embeddings
ln -sf /home/jenson/docker_share/aigc-model-weights/ControlNet ControlNet

0 comments on commit d495c79

Please sign in to comment.