#!/bin/bash cd /content/drive/MyDrive/SD git gc if [ ! -d "models" ]; then git clone https://huggingface.co/zuv0/modelsXL models cd models \mv -f /content/drive/MyDrive/SD/repositories/BLIP/_git /content/drive/MyDrive/SD/repositories/BLIP/.git \mv -f /content/drive/MyDrive/SD/repositories/generative-models/_git /content/drive/MyDrive/SD/repositories/generative-models/.git \mv -f /content/drive/MyDrive/SD/repositories/k-diffusion/_git /content/drive/MyDrive/SD/repositories/k-diffusion/.git \mv -f /content/drive/MyDrive/SD/repositories/stable-diffusion-stability-ai/_git /content/drive/MyDrive/SD/repositories/stable-diffusion-stability-ai/.git \mv -f /content/drive/MyDrive/SD/repositories/stable-diffusion-webui-assets/_git /content/drive/MyDrive/SD/repositories/stable-diffusion-webui-assets/.git cd /content/drive/MyDrive/SD/extensions-builtin/forge_legacy_preprocessors/annotator/oneformer/oneformer/data curl -L -O https://github.com/Mikubill/sd-webui-controlnet/blob/main/annotator/oneformer/oneformer/data/bpe_simple_vocab_16e6.txt.gz fi cd /content/drive/MyDrive/SD