Create CFUI_Clean
Browse files- CFUI_Clean +45 -0
CFUI_Clean
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import subprocess
|
3 |
+
|
4 |
+
os.chdir("/content/")
|
5 |
+
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o CFUIV.zip https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/CFUIV1.99.zip")
|
6 |
+
os.system("unzip /content/CFUIV.zip")
|
7 |
+
|
8 |
+
os.system("mv /content/CFUI /content/ComUI")
|
9 |
+
|
10 |
+
os.chdir("/content/ComUI")
|
11 |
+
os.system("pip install -q -r requirements.txt")
|
12 |
+
|
13 |
+
os.system("pip3 -q install --upgrade gdown")
|
14 |
+
os.system("apt -q install -y aria2")
|
15 |
+
|
16 |
+
os.chdir("/content/ComUI/models/upscale_models")
|
17 |
+
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o 4x-UltraMix_Balanced.pth https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/Upscale/4x-UltraMix_Balanced.pth")
|
18 |
+
|
19 |
+
|
20 |
+
os.system("pip install rembg")
|
21 |
+
os.system("pip install ftfy")
|
22 |
+
os.chdir("/content/ComUI/custom_nodes")
|
23 |
+
|
24 |
+
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Nodos.zip https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/NodosV35.zip")
|
25 |
+
os.system("unzip Nodos.zip")
|
26 |
+
|
27 |
+
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o face.zip https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/CFUI_facetools1.zip")
|
28 |
+
os.system("unzip face.zip")
|
29 |
+
|
30 |
+
os.chdir("/content/ComUI/custom_nodes/CFUI_controlnet_aux")
|
31 |
+
os.system("python install.py")
|
32 |
+
os.chdir("/content/ComUI/custom_nodes/was-node-suite")
|
33 |
+
os.system("pip install -r requirements.txt")
|
34 |
+
os.chdir("/content/ComUI/custom_nodes")
|
35 |
+
|
36 |
+
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Extra_Nodes.zip https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/Extra_NodesV21.zip")
|
37 |
+
os.system("unzip Extra_Nodes.zip")
|
38 |
+
|
39 |
+
os.chdir("/content/ComUI/custom_nodes/ostris_nodes_CFUI")
|
40 |
+
os.system("pip install --upgrade -r requirements.txt")
|
41 |
+
os.system("pip install exllamav2")
|
42 |
+
os.chdir("/content/ComUI/custom_nodes")
|
43 |
+
os.system("git clone https://github.com/mcmonkeyprojects/sd-dynamic-thresholding")
|
44 |
+
os.chdir("/content/ComUI/custom_nodes/sd-dynamic-thresholding")
|
45 |
+
os.chdir("/content/ComUI/custom_nodes")
|