Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ninjaneural
GitHub Repository: ninjaneural/webui
Path: blob/master/misc/install_kaggle.sh
3275 views
1
/opt/conda/envs/colabui/bin/python3 -m pip install httpx==0.24.1
2
3
if [ $4 == True ]; then
4
/opt/conda/envs/colabui/bin/python3 -m pip install -U openmim
5
/opt/conda/envs/colabui/bin/python3 -m mim install mmcv>=2.0.0 -f https://download.openmmlab.com/mmcv/dist/cu118/torch2.0.0/index.html
6
/opt/conda/envs/colabui/bin/python3 -m mim install mmdet>=3.0.0
7
fi
8
9
git clone -b $2 https://github.com/ninjaneural/colabui /kaggle/working/$1
10
cd /kaggle/working/$1
11
12
if [ $3 == True ]; then
13
git clone https://github.com/Mikubill/sd-webui-controlnet ./extensions/controlnet
14
fi
15
if [ $4 == True ]; then
16
git clone -b mmdet3 https://github.com/ninjaneural/ddetailer ./extensions/ddetailer
17
fi
18
if [ $5 == True ]; then
19
git clone https://github.com/Bing-su/adetailer ./extensions/adetailer
20
fi
21
if [ $6 == True ]; then
22
git clone https://github.com/ninjaneural/segment-anything ./extensions/segment-anything
23
fi
24
25
git clone https://github.com/adieyal/sd-dynamic-prompts ./extensions/sd-dynamic-prompts
26
git clone https://github.com/mcmonkeyprojects/sd-dynamic-thresholding ./extensions/sd-dynamic-thresholding
27
git clone https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111 ./extensions/multidiffusion-upscaler
28
git clone https://github.com/DominikDoom/a1111-sd-webui-tagcomplete ./extensions/tagcomplete
29
git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 ./extensions/ultimate-upscale
30
31
git clone https://github.com/neuralninja22/images-browser ./extensions/images-browser
32
git clone https://github.com/kohya-ss/sd-webui-additional-networks ./extensions/additional-networks
33
git clone https://github.com/picobyte/stable-diffusion-webui-wd14-tagger ./extensions/wd14-tagger
34
git clone https://github.com/yankooliveira/sd-webui-photopea-embed ./extensions/photopea-embed
35
36
git clone https://github.com/fkunn1326/openpose-editor ./extensions/openpose-editor
37
git clone https://github.com/hnmr293/posex ./extensions/posex
38
git clone https://github.com/fishslot/video_loopback_for_webui ./extensions/video_loopback
39
40
if [ $6 == True ]; then
41
mkdir ./models/sam
42
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth -d ./models/sam -o sam_vit_h_4b8939.pth
43
fi
44
45