OnlineAAA / CFUI_Clean
Gregorio1502's picture
Create CFUI_Clean
6e6faac verified
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/CFUIV1.99.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")