Hydrc68 commited on
Commit
c9e6d08
1 Parent(s): 7a26163

Create main

Browse files
Files changed (1) hide show
  1. main +63 -0
main ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gdown
2
+
3
+ !curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel131.zip
4
+ !unzip /content/microsoftexcel.zip
5
+ !git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels
6
+ !git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet
7
+ !git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor
8
+ !git clone https://github.com/LonicaMewinsky/gif2gif /content/microsoftexcel/extensions/gif2gif
9
+ !git clone
10
+ !git clone https://github.com/hnmr293/posex /content/microsoftexcel/extensions/posex
11
+ !git clone https://github.com/Iyashinouta/sd-model-downloader /content/microsoftexcel/extensions/sd-model-downloader
12
+ !git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete
13
+ !git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger
14
+ !git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111
15
+ !git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon
16
+ !mkdir /content/microsoftexcel/models/ESRGAN
17
+ !curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip
18
+ !curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip
19
+ !curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip
20
+ %cd /content/microsoftexcel/extensions
21
+ !unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip
22
+ %cd /content/microsoftexcel/embeddings
23
+ !unzip /content/microsoftexcel/embeddings/embeddings.zip
24
+ %cd /content/microsoftexcel/models/ESRGAN
25
+ !unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip
26
+ !rm upscalers.zip
27
+ %cd /content
28
+ # Model Code
29
+ !curl -Lo /content/microsoftexcel/models/Stable-diffusion/arcane-diffusion-v3.ckpt https://huggingface.co/nitrosocke/Arcane-Diffusion/resolve/main/arcane-diffusion-v3.ckpt
30
+ !curl -Lo /content/microsoftexcel/models/Stable-diffusion/anything-v3-full.safetensors https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/anything-v3-full.safetensors
31
+ gdown.download('https://drive.google.com/uc?id=1vjJDYGdSU6IjTNKOIvNeYQ7t14bQuh7o', '/content/microsoftexcel/models/Stable-diffusion/oshi25v.ckpt')
32
+ gdown.download('https://drive.google.com/uc?id=1WdxvVSgYPndXglj-9PqOdOJvQICXzGot', '/content/microsoftexcel/models/Stable-diffusion/aot.ckpt')
33
+
34
+ # ControlNet
35
+ # Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)
36
+ !curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_canny.yaml https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11p_sd15_canny.yaml
37
+ !curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_canny.pth https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11p_sd15_canny.pth
38
+ !curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15s2_lineart_anime.pth https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11p_sd15s2_lineart_anime.pth
39
+ !curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15s2_lineart_anime.yaml https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11p_sd15s2_lineart_anime.yaml
40
+ !curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11f1p_sd15_depth.yaml https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11f1p_sd15_depth.yaml
41
+ !curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11f1p_sd15_depth.pth https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11f1p_sd15_depth.pth
42
+ !curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_sd15_scribble.pth https://huggingface.co/lllyasviel/ControlNet/resolve/main/models/control_sd15_scribble.pth
43
+ !curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_sd15_openpose.pth https://huggingface.co/lllyasviel/ControlNet/resolve/main/models/control_sd15_openpose.pth
44
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_openpose.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_openpose_fp16.safetensors
45
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_scribble.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_scribble_fp16.safetensors
46
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_seg.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_seg_fp16.safetensors
47
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_softedge.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_softedge_fp16.safetensors
48
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15s2_lineart_anime.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors
49
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11f1e_sd15_tile.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11f1e_sd15_tile_fp16.safetensors
50
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth
51
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth
52
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth
53
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth
54
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth
55
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth
56
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth
57
+ #!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth
58
+ !rm microsoftexcel.zip
59
+ %cd /content/microsoftexcel
60
+ # Web UI tunnel
61
+ !COMMANDLINE_ARGS="--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue" REQS_FILE="requirements.txt" python launch.py
62
+ # Use this command below to use cloudflare tunnel
63
+ #!COMMANDLINE_ARGS="--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared" REQS_FILE="requirements.txt" python launch.py