| | #!/bin/bash |
| |
|
| | cd SD |
| | cd SDUX |
| | cd stable-diffusion-webui |
| | cd stable-diffusion-webui-ux |
| | cd /workspace/T01/SD |
| | cd /workspace/T01/SDUX |
| | cd ~/sagemaker-studiolab-notebooks/SD |
| | cd ~/sagemaker-studiolab-notebooks/SDUX |
| | cd ~/sagemaker-studiolab-notebooks/stable-diffusion-webui |
| | cd ~/sagemaker-studiolab-notebooks/stable-diffusion-webui-ux |
| | cd models |
| | git fetch --all |
| | git reset --hard origin/main |
| | git pull |
| | git repack -a -d --depth=250 --window=250 |
| | rsync -r "embeddings/" "../embeddings/" |
| | cd .git |
| | rm -rf lfs |
| | cd .. |
| | cd .. |
| | cd .. |
| |
|