OnlineAAA / CFUI
Gregorio1502's picture
Update CFUI
bdc7e17 verified
raw
history blame
14.1 kB
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.92.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/vae")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o SDVAE.vae.pt https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt")
os.chdir("/content/ComUI/models/hypernetworks")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o MidHyper.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/MidHyper.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Sam_Full_Body.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/Sam_Full_Body.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o SamDoesArts.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/SamDoesArts.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o MagicLight.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/MagicLight.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o KawaiiCyberpunk.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/KawaiiCyberpunk.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Axsens.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/Axsens.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o SXZ_Bloom.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/SXZ_Bloom.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o SXZ_Cinematic.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/SXZ_Cinematic.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o SXZ_Hero_Picker.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/SXZ_Hero_Picker.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Neon_Abstract.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/Neon_Abstract.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o n647.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/n647.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o S-tarou.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/S-tarou.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o PixelArt.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/PixelArt.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Project_Unreal_Engine5.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/hypernetworks/Project_Unreal_Engine5.pt")
os.chdir("/content/ComUI/models/embeddings")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Bored.pt https://huggingface.co/FoodDesert/boring_e621/resolve/main/boring_e621_v4.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o BadN.pt https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/main/bad_prompt_version2.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o AsianNev.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/AsianNev.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o veryBadImageNegative.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/veryBadImageNegative.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Image_Sharpener.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/Image_Sharpener.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Cloud.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/Cloud.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o AsianPosToon.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/AsianPosToon.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o FlonixN.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/FlonixN.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o DeepN.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/DeepN.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Easy.safetensors https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/Easy.safetensors")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o BadHan.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/BadHan.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o AsianPos.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/AsianPos.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o ToonPos.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/ToonPos.pt")
#os.system("gdown --fuzzy https://drive.google.com/file/d/1MnK4_Kr4zrG33ci4I03yXbhOBzUMTQOL/view?usp=drive_link")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Tex.zip https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/Textual.zip")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Pony.zip https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/PonyEmbending.zip")
os.system("unzip Tex.zip")
os.system("unzip Pony.zip")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Pix.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/Pix.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Flonix.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/Flonix.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Bimbostyle.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/Bimbostyle.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o NegDy.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/NegDy.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o BadDream.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/BadDream.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o SkinH.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/SkinH.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o SkinHNeg.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/SkinHNeg.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Over.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/Over.pt")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o RFKTR.pt https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/embeddings/RFKTR.pt")
os.chdir("/content/ComUI/models/upscale_models")
#os.system("gdown -q --fuzzy https://drive.google.com/file/d/1gHp45qzP01ZsN3P9ddTd_AuzkH0g-Ozb -O 4x-UltraMix_Balanced.pth")
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.chdir("/content/ComUI/models/controlnet")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Openpose.safetensors https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_openpose-fp16.safetensors")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o 'control_v11p_sd15_lineart.pth' https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11p_sd15_lineart.pth")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o control_v11f1e_sd15_tile.pth https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11f1e_sd15_tile.pth")
#os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o control_v11p_sd15_inpaint.safetensors https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint/resolve/main/diffusion_pytorch_model.fp16.safetensors")
os.system("pip install rembg")
os.system("pip install ftfy")
os.chdir("/content/ComUI/custom_nodes")
#os.system("gdown --fuzzy https://drive.google.com/file/d/17n6beL4c7bvkrYc0ehN46bEesWTNxfUX -O NodosV31.zip")
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/NodosV33.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_facetools.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("gdown --fuzzy https://drive.google.com/file/d/1Bv0D310itISttGWE-zYVUTzOVsFJWdFx -O Extra_NodesV2.zip")
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.system("git reset --hard bba97c0")
os.chdir("/content/ComUI/custom_nodes")
##os.system("git clone https://github.com/Jcd1230/rembg-comfyui-node")
##os.system("git clone https://github.com/WASasquatch/was-node-suite-comfyui")
##os.system("git clone https://github.com/BlenderNeko/ComfyUI_ADV_CLIP_emb")
##os.system("git clone https://github.com/BlenderNeko/ComfyUI_TiledKSampler")
##os.system("git clone https://github.com/ltdrdata/ComfyUI-Manager")
##os.system("git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack")
##os.system("git clone https://github.com/BlenderNeko/ComfyUI_Cutoff")
##os.system("git clone https://github.com/BlenderNeko/ComfyUI_Noise")
##os.system("git clone https://github.com/SLAPaper/ComfyUI-Image-Selector")
#model
os.chdir("/content/ComUI/models/checkpoints")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Com45.safetensors https://huggingface.co/Gregorio1502/Combi/resolve/main/Combinazao45.safetensors")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Abys3~Mois~Duc~Babe.safetensors https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/Abys3~Mois~Duc~Babe..._00001_.safetensors")
#Loras
os.chdir("/content/ComUI/models/loras")
os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Loras.zip https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/Loras.zip")
os.system("unzip Loras.zip")
os.system("rm -r Loras.zip")
os.system("!mv /content/ComUI/models/loras/content/ComUI/models/loras/* /content/ComUI/models/loras")
os.system("!rm -r /content/ComUI/models/loras/content")
#os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o hyperfusion_finetune.safetensors https://civitai.com/api/download/models/209793")
#os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Combinazao3.safetensors https://huggingface.co/Gregorio1502/Combi/resolve/main/Combinazao3.safetensors")
#os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o Novel.ckpt https://huggingface.co/Gregorio1502/NovelAI/resolve/main/NovelAI.ckpt")
#os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o AnyWfMidEmisCafeF222.safetensors https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/Check/AnyWfMidEmisCafeF222.safetensors")
#os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o WfAnyEmisMidDucHCuteExprBabesFae.safetensors https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/Check/WfAnyEmisMid~DucHCuteExprBabesFae.safetensors")
#os.system("aria2c --console-log-level=error --summary-interval=10 -c -x 16 -k 1M -s 16 -q -o BabeRevNoosKensDreamMegafemKotoDucArt.safetensors https://huggingface.co/Gregorio1502/OnlineAAA/resolve/main/Check/BabeRevNoosKensDreamMegafemKotoDucArt.safetensors")