File size: 2,093 Bytes
6e6faac
 
 
 
3d0dbba
6e6faac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import os
import subprocess

os.chdir("/content/") 
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/CFUIV0.3.26.zip")
os.system("unzip /content/CFUIV.zip")

os.system("mv /content/CFUI /content/ComUI")

os.chdir("/content/ComUI")
os.system("pip install -q -r requirements.txt")

os.system("pip3 -q install --upgrade gdown")
os.system("apt -q install -y aria2")

os.chdir("/content/ComUI/models/upscale_models")
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")


os.system("pip install rembg")
os.system("pip install ftfy")
os.chdir("/content/ComUI/custom_nodes")

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")
os.system("unzip Nodos.zip")

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")
os.system("unzip face.zip")

os.chdir("/content/ComUI/custom_nodes/CFUI_controlnet_aux")
os.system("python install.py")
os.chdir("/content/ComUI/custom_nodes/was-node-suite")
os.system("pip install -r requirements.txt")
os.chdir("/content/ComUI/custom_nodes")

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")
os.system("unzip Extra_Nodes.zip")

os.chdir("/content/ComUI/custom_nodes/ostris_nodes_CFUI")
os.system("pip install --upgrade -r requirements.txt")
os.system("pip install exllamav2")
os.chdir("/content/ComUI/custom_nodes")
os.system("git clone https://github.com/mcmonkeyprojects/sd-dynamic-thresholding")
os.chdir("/content/ComUI/custom_nodes/sd-dynamic-thresholding")
os.chdir("/content/ComUI/custom_nodes")