update tokens

This commit is contained in:
hongyi.ren
2024-09-29 14:25:10 +08:00
parent c0ca686ca7
commit e6e830cbda
5 changed files with 2842 additions and 1986 deletions
@@ -1239,6 +1239,16 @@
"reference": "https://github.com/cubiq/PuLID_ComfyUI",
"title": "PuLID_ComfyUI"
},
{
"author": "cubiq",
"description": "This is an (very) advanced and (very) experimental custom node for the ComfyUI. It allows you to iteratively change the blocks weights of Flux models and check the difference each value makes.",
"files": [
"https://github.com/cubiq/Block_Patcher_ComfyUI"
],
"install_type": "git-clone",
"reference": "https://github.com/cubiq/Block_Patcher_ComfyUI",
"title": "Flux blocks patcher sampler"
},
{
"author": "shockz0rz",
"description": "Nodes: Interpolate Poses, Interpolate Lineart, ... Custom nodes for interpolating between, well, everything in the Stable Diffusion ComfyUI.",
@@ -4483,6 +4493,16 @@
"reference": "https://github.com/SoftMeng/ComfyUI-DeepCache-Fix",
"title": "ComfyUI-DeepCache-Fix"
},
{
"author": "SoftMeng",
"description": "Nodes: PIL Effects (Mexx), PIL TITLE (Mexx), PIL Merge Image (Mexx), PIL Remove Black Dots (Mexx)",
"files": [
"https://github.com/SoftMeng/ComfyUI-PIL"
],
"install_type": "git-clone",
"reference": "https://github.com/SoftMeng/ComfyUI-PIL",
"title": "ComfyUI-PIL"
},
{
"author": "wmatson",
"description": "A collection of utility nodes primarily for interacting with comfy via automated systems",
@@ -4950,11 +4970,11 @@
},
{
"author": "MNeMoNiCuZ",
"description": "Nodes: Save Text File, Download Image from URL, Groq LLM API, Generate Negative Prompt (experimental)",
"description": "Added new models to Groq LLM. Added a new node: Tiktoken Tokenizer Info.",
"files": [
"https://github.com/MNeMoNiCuZ/ComfyUI-mnemic-nodes"
],
"id": "mnemic",
"id": "comfyui-mnemic-nodes",
"install_type": "git-clone",
"reference": "https://github.com/MNeMoNiCuZ/ComfyUI-mnemic-nodes",
"title": "ComfyUI-mnemic-nodes"
@@ -6627,6 +6647,16 @@
"reference": "https://github.com/yuvraj108c/ComfyUI-Dwpose-Tensorrt",
"title": "ComfyUI Dwpose TensorRT"
},
{
"author": "yuvraj108c",
"description": "This project provides an experimental Tensorrt implementation for ultra fast face restoration inside ComfyUI.\nNote: This project doesn't do pre/post processing. It only works on cropped faces for now.",
"files": [
"https://github.com/yuvraj108c/ComfyUI-Facerestore-Tensorrt"
],
"install_type": "git-clone",
"reference": "https://github.com/yuvraj108c/ComfyUI-Facerestore-Tensorrt",
"title": "ComfyUI Facerestore TensorRT"
},
{
"author": "blepping",
"description": "Better TAESD previews, BlehHyperTile.",
@@ -6809,6 +6839,16 @@
"reference": "https://github.com/StartHua/Comfyui_CXH_Phi_3.5",
"title": "Comfyui_CXH_Phi_3.5"
},
{
"author": "StartHua",
"description": "NODES:CXH_DeepLX_Free, CXH_DeepLX_translate",
"files": [
"https://github.com/StartHua/Comfyui_CXH_DeepLX"
],
"install_type": "git-clone",
"reference": "https://github.com/StartHua/Comfyui_CXH_DeepLX",
"title": "Comfyui_CXH_DeepLX"
},
{
"author": "ricklove",
"description": "Nodes: Image Crop and Resize by Mask, Image Uncrop, Image Shadow, Optical Flow (Dip), Warp Image with Flow, Image Threshold (Channels), Finetune Variable, Finetune Analyze, Finetune Analyze Batch, ... Misc ComfyUI nodes by Rick Love",
@@ -7108,6 +7148,16 @@
"reference": "https://github.com/ShmuelRonen/ComfyUI_Gemini_Flash",
"title": "ComfyUI_Gemini_Flash"
},
{
"author": "ShmuelRonen",
"description": "The ComfyUI_pixtral_vision is a powerful ComfyUI node designed to integrate seamlessly with the Mistral Pixtral API. It facilitates the analysis of images through deep learning models, interpreting and describing the visual content. Users can input an image directly and provide prompts for context, utilizing an API key for authentication.",
"files": [
"https://github.com/ShmuelRonen/ComfyUI_pixtral_vision"
],
"install_type": "git-clone",
"reference": "https://github.com/ShmuelRonen/ComfyUI_pixtral_vision",
"title": "ComfyUI_pixtral_vision"
},
{
"author": "redhottensors",
"description": "Fully customizable Classifier Free Guidance for ComfyUI.",
@@ -7368,6 +7418,16 @@
"reference": "https://github.com/logtd/ComfyUI-DiLightNet",
"title": "ComfyUI-DiLightNet"
},
{
"author": "logtd",
"description": "ComfyUI nodes to use [a/ViewCrafter](https://github.com/Drexubery/ViewCrafter/tree/main) for novel view synthesis.",
"files": [
"https://github.com/logtd/ComfyUI-ViewCrafter"
],
"install_type": "git-clone",
"reference": "https://github.com/logtd/ComfyUI-ViewCrafter",
"title": "ComfyUI-ViewCrafter"
},
{
"author": "Big-Idea-Technology",
"description": "ComfyUI-Book-Tools is a set o new nodes for ComfyUI that allows users to easily add text overlays to images within their ComfyUI projects. This Node leverages Python Imaging Library (PIL) and PyTorch to dynamically render text on images, supporting a wide range of customization options including font size, alignment, color, and padding. Loop with any parameters (*), prompt batch schedule with prompt selector, end queue for automatic ending current queue.",
@@ -8984,6 +9044,16 @@
"reference": "https://github.com/discus0434/comfyui-aesthetic-predictor-v2-5",
"title": "ComfyUI Aesthetic Predictor V2.5"
},
{
"author": "discus0434",
"description": "ComfyUI Flux Accelerator is a custom node for ComfyUI that accelerates Flux.1 image generation, just by using this node.",
"files": [
"https://github.com/discus0434/comfyui-flux-accelerator"
],
"install_type": "git-clone",
"reference": "https://github.com/discus0434/comfyui-flux-accelerator",
"title": "ComfyUI Flux Accelerator"
},
{
"author": "AIFSH",
"description": "a custom node for [a/StyleShot](https://github.com/open-mmlab/StyleShot.git)",
@@ -9333,13 +9403,13 @@
},
{
"author": "AIFSH",
"description": "a custom node for [a/seed-vc](https://github.com/Plachtaa/seed-vc)",
"description": "a custom node for [a/ViewCrafter](https://github.com/Drexubery/ViewCrafter)",
"files": [
"https://github.com/AIFSH/SeedVC-ComfyUI"
"https://github.com/AIFSH/ViewCrafter-ComfyUI"
],
"install_type": "git-clone",
"reference": "https://github.com/AIFSH/SeedVC-ComfyUI",
"title": "SeedVC-ComfyUI"
"reference": "https://github.com/AIFSH/ViewCrafter-ComfyUI",
"title": "ViewCrafter-ComfyUI"
},
{
"author": "Koishi-Star",
@@ -10212,6 +10282,16 @@
"reference": "https://github.com/da2el-ai/ComfyUI-d2-send-eagle",
"title": "D2 Send Eagle"
},
{
"author": "da2el-ai",
"description": "Custom node for using Prompt S/R in XY Plot\nAlso includes nodes for listing generic parameters like seed and cfg\nEasy to manipulate as elements are separated by line breaks\nDesigned for use with the XY Plot custom node qq-nodes-comfyui, but may work with other custom nodes as well",
"files": [
"https://github.com/da2el-ai/ComfyUI-d2-xyplot-utils"
],
"install_type": "git-clone",
"reference": "https://github.com/da2el-ai/ComfyUI-d2-xyplot-utils",
"title": "D2 XYPlot Utils"
},
{
"author": "nat-chan",
"description": "Transceiver is a python library that swiftly exchanges fundamental data structures, specifically numpy arrays, between processes, optimizing AI inference tasks that utilize ComfyUI.",
@@ -12552,11 +12632,11 @@
"author": "RhizoNymph",
"description": "A node to replicate [a/https://huggingface.co/spaces/latentexplorers/latentnavigation-flux](A node to replicate https://huggingface.co/spaces/latentexplorers/latentnavigation-flux)",
"files": [
"https://github.com/RhizoNymph/ComfyUI-Latte"
"https://github.com/RhizoNymph/ComfyUI-CLIPSlider"
],
"id": "clipslider",
"install_type": "git-clone",
"reference": "https://github.com/RhizoNymph/ComfyUI-Latte",
"reference": "https://github.com/RhizoNymph/ComfyUI-CLIPSlider",
"title": "ComfyUI-CLIPSlider"
},
{
@@ -13239,6 +13319,16 @@
"reference": "https://github.com/leeguandong/ComfyUI_MasaCtrl",
"title": "ComfyUI nodes to use MasaCtrl"
},
{
"author": "leeguandong",
"description": "ComfyUI nodes to use CompareModelWeights",
"files": [
"https://github.com/leeguandong/ComfyUI_CompareModelWeights"
],
"install_type": "git-clone",
"reference": "https://github.com/leeguandong/ComfyUI_CompareModelWeights",
"title": "ComfyUI_CompareModelWeights"
},
{
"author": "lenskikh",
"description": "Node:Prompt Worker. A text manipulation node for postprocessing of prompt.",
@@ -14164,7 +14254,7 @@
"files": [
"https://github.com/Shiba-2-shiba/comfyui-color-ascii-art-node"
],
"id": "asciiart",
"id": "comfyui-color-ascii-art-node",
"install_type": "git-clone",
"reference": "https://github.com/Shiba-2-shiba/comfyui-color-ascii-art-node",
"title": "ComfyUI-color-ascii-art-node"
@@ -14244,9 +14334,20 @@
"reference": "https://github.com/lazniak/Head-Orientation-Node-for-ComfyUI---by-PabloGFX",
"title": "Head Orientation Node"
},
{
"author": "PabloGFX",
"description": "A ComfyUI custom node that integrates Google Photos into your workflows. List albums, load images from specific albums, and search photos directly within ComfyUI. Features customizable image loading options, sorting, and efficient caching for seamless integration of your Google Photos library into AI image processing pipelines.",
"files": [
"https://github.com/lazniak/comfyui-google-photos-loader"
],
"id": "google-photos-loader",
"install_type": "git-clone",
"reference": "https://github.com/lazniak/comfyui-google-photos-loader",
"title": "Google Photos Loader - by PabloGFX"
},
{
"author": "45uee",
"description": "Implementation of color transfer using KMeans algorithm",
"description": "Postprocessing nodes that implement color palette transfer for images.",
"files": [
"https://github.com/45uee/ComfyUI-Color_Transfer"
],
@@ -14284,6 +14385,16 @@
"reference": "https://github.com/SeanScripts/ComfyUI-Unload-Model",
"title": "ComfyUI-Unload-Model"
},
{
"author": "SeanScripts",
"description": "For loading and running Pixtral and Llama 3.2 Vision models",
"files": [
"https://github.com/SeanScripts/ComfyUI-PixtralLlamaVision"
],
"install_type": "git-clone",
"reference": "https://github.com/SeanScripts/ComfyUI-PixtralLlamaVision",
"title": "ComfyUI-PixtralLlamaVision"
},
{
"author": "ExterminanzHS",
"description": "Custom nodes for ComfyUI to automatically send generated images to Discord channels.",
@@ -14579,6 +14690,222 @@
"reference": "https://github.com/chrissy0/chris-comfyui-nodes",
"title": "chris-comfyui-nodes"
},
{
"author": "amorano",
"description": "Toggle ComfyUI Graph Links On/Off from the Menu Bar. Provides an easy example on how to register and use the ComfyUI menubar extensions.",
"files": [
"https://github.com/cozy-comfyui/cozy_link_toggle"
],
"id": "cozyLinkToggle",
"install_type": "git-clone",
"reference": "https://github.com/cozy-comfyui/cozy_link_toggle",
"title": "Cozy Link Toggle"
},
{
"author": "revirevy",
"description": "This custom node allow upscaling an image by a factor using a model.",
"files": [
"https://github.com/revirevy/Comfyui_saveimage_imgbb"
],
"id": "Comfyui_saveimage_imgbb",
"install_type": "git-clone",
"reference": "https://github.com/revirevy/Comfyui_saveimage_imgbb",
"title": "Comfyui_saveimage_imgbb"
},
{
"author": "Kinglord",
"description": "A custom node that adds a UI element to the sidebar allowing easy access, navigation, and use of a massive collection (100+) of LECO (Slider) LoRAs. LECOs are an amazing tool to generate variance in your output with a minimal impact to consistency, i.e. deviating form your prompt. They can also allow you access to control parts of your image without taking up CLIP space, saving your token weights for more valuable keywords. If you haven't used them, there's never been a better time to try!",
"files": [
"https://github.com/Kinglord/ComfyUI_Slider_Sidebar"
],
"install_type": "git-clone",
"reference": "https://github.com/Kinglord/ComfyUI_Slider_Sidebar",
"title": "ComfyUI_Slider_Sidebar"
},
{
"author": "Isi-dev",
"description": "These are ComfyUI nodes to assist in converting images to paintings and to assist the Inspyrenet Rembg node to totally remove, or replace with a color, the original background from images so that the background does not reappear in videos or in nodes that do not retain the alpha channel in rgba images.",
"files": [
"https://github.com/Isi-dev/ComfyUI-Img2PaintingAssistant"
],
"id": "ComfyUI-Img2PaintingAssistant",
"install_type": "git-clone",
"reference": "https://github.com/Isi-dev/ComfyUI-Img2PaintingAssistant",
"title": "Image to Painting and Inspyrenet Assistant Nodes"
},
{
"author": "311-code",
"description": "This project allows you to adjust SDXL's two text encoder's strengths individually for clip_g (ViT-bigG) and clip_l (CLIP-ViT-L) within ComfyUI. (And other adjustments)",
"files": [
"https://github.com/311-code/ComfyUI-MagicClip_Strength"
],
"install_type": "git-clone",
"reference": "https://github.com/311-code/ComfyUI-MagicClip_Strength",
"title": "ComfyUI MagicClip_Strength for SDXL"
},
{
"author": "godmt",
"description": "LIST and BATCH utilities which support: create, convert, get or slice items",
"files": [
"https://github.com/godmt/ComfyUI-List-Utils"
],
"install_type": "git-clone",
"reference": "https://github.com/godmt/ComfyUI-List-Utils",
"title": "ComfyUI-List-Utils"
},
{
"author": "pedrogengo",
"description": "Luma Dream Machine API official ComfyUI custom node.",
"files": [
"https://github.com/lumalabs/ComfyUI-LumaAI-API"
],
"id": "lumaai-api",
"install_type": "git-clone",
"reference": "https://github.com/lumalabs/ComfyUI-LumaAI-API",
"title": "ComfyUI-LumaAI-API"
},
{
"author": "mingsky",
"description": "Nodes: ConvertGrayChannelNode, AdjustBrightnessContrastSaturationNode, BaiduTranslateNode.",
"files": [
"https://github.com/mingsky-ai/ComfyUI-MingNodes"
],
"id": "ComfyUI_MingNodes_Mingsky",
"install_type": "git-clone",
"reference": "https://github.com/mingsky-ai/ComfyUI-MingNodes",
"title": "ComfyUI-MingNodes"
},
{
"author": "blob8",
"description": "Using IPAdapter for style consistency, the node accepts a story structured as text {prompt} text {prompt} etc. and generates a comic, saving it to /output. It also adds LLM API Request node, providing an openai compatible LLM API for generating the stories.",
"files": [
"https://github.com/blob8/ComfyUI_sloppy-comic"
],
"install_type": "git-clone",
"reference": "https://github.com/blob8/ComfyUI_sloppy-comic",
"title": "ComfyUI_sloppy-comic"
},
{
"author": "banqingyuan",
"description": "NODES: OCR Location Node, Image Erase Node, Chat Overlay Node, Extract JSON Node.",
"files": [
"https://github.com/banqingyuan/ComfyUI-text-replace"
],
"install_type": "git-clone",
"reference": "https://github.com/banqingyuan/ComfyUI-text-replace",
"title": "ComfyUI-text-replace"
},
{
"author": "edelvarden",
"description": "Custom node for ComfyUI. It adds additional metadata for saved images, ensuring compatibility with the Civitai website.",
"files": [
"https://github.com/edelvarden/ComfyUI-ImageMetadataExtension"
],
"install_type": "git-clone",
"reference": "https://github.com/edelvarden/ComfyUI-ImageMetadataExtension",
"title": "ComfyUI-ImageMetadataExtension"
},
{
"author": "dfghsdh",
"description": "Flux Prompt Generator is a custom node set for ComfyUI that enhances prompt generation and image captioning capabilities. It integrates advanced language models and image captioning techniques to provide versatile and powerful prompt manipulation tools for your AI image generation workflows.\nNOTE:PORT OF [a/https://huggingface.co/Aitrepreneur/FLUX-Prompt-Generator](https://huggingface.co/Aitrepreneur/FLUX-Prompt-Generator) for COMFYUI",
"files": [
"https://github.com/dfghsdh/ComfyUI_FluxPromptGen"
],
"install_type": "git-clone",
"reference": "https://github.com/dfghsdh/ComfyUI_FluxPromptGen",
"title": "ComfyUI_FluxPromptGen"
},
{
"author": "liushuchun",
"description": "Nodes:ComfyUI_Lora_List_With_Url_Loader. Load loras from urls and auto fetch them on web if they are missing.",
"files": [
"https://github.com/liushuchun/ComfyUI_Lora_List_With_Url_Loader"
],
"install_type": "git-clone",
"reference": "https://github.com/liushuchun/ComfyUI_Lora_List_With_Url_Loader",
"title": "ComfyUI_Lora_List_With_Url_Loader"
},
{
"author": "silveroxides",
"description": "Nodes for loading both Checkpoints and UNET/Diffussion models quantized to bitsandbytes NF4 or FP4 format.\nStill under development and some limitations such as using LoRA might apply still.",
"files": [
"https://github.com/silveroxides/ComfyUI_bnb_nf4_fp4_Loaders"
],
"install_type": "git-clone",
"reference": "https://github.com/silveroxides/ComfyUI_bnb_nf4_fp4_Loaders",
"title": "Model and Checkpoint Loaders for NF4 and FP4"
},
{
"author": "turkyden",
"description": "a ComfyUI Custom Node for [a/smartcrop.py](https://github.com/smartcrop/smartcrop.py)",
"files": [
"https://github.com/turkyden/ComfyUI-SmartCrop"
],
"install_type": "git-clone",
"reference": "https://github.com/turkyden/ComfyUI-SmartCrop",
"title": "ComfyUI-SmartCrop"
},
{
"author": "DareFail",
"description": "This is a ComfyUI node that connects with [a/Roboflow workflows](https://roboflow.com/workflows/build).\nRoboflow hosts hundreds of thousands of open source and custom object detection models.",
"files": [
"https://github.com/DareFail/ComfyUI-Roboflow"
],
"install_type": "git-clone",
"reference": "https://github.com/DareFail/ComfyUI-Roboflow",
"title": "ComfyUI-Roboflow"
},
{
"author": "valofey",
"description": "This is a node to use OpenRouter API from within ComfyUI. It supports both prompt and image+prompt requests (for multimodal LLMs).",
"files": [
"https://github.com/valofey/Openrouter-Node"
],
"install_type": "git-clone",
"reference": "https://github.com/valofey/Openrouter-Node",
"title": "OpenRouter Node"
},
{
"author": "Charlweed",
"description": "ImageTransceiver is a custom node that enables image generating clients to connect directly to ComfyUI, and send those images in near real-time. For example, an image manipulation program like GIMP can connect an image to a workflow in ComfyUI, and every time the image changes in GIMP, the changes are immediately made in the workflow. Cloning",
"files": [
"https://github.com/Charlweed/image_transceiver"
],
"install_type": "git-clone",
"reference": "https://github.com/Charlweed/image_transceiver",
"title": "ImageTransceiver - ComfyUI"
},
{
"author": "tanglaoya321",
"description": "NODES:StoryMakerSinglePortraitNode, StoryMakerTwoPortraitNode, StoryMakerSwapClothNode.",
"files": [
"https://github.com/tanglaoya321/ComfyUI-StoryMaker"
],
"install_type": "git-clone",
"reference": "https://github.com/tanglaoya321/ComfyUI-StoryMaker",
"title": "ComfyUI-StoryMaker"
},
{
"author": "CRT",
"description": "This set includes toggle nodes for Lora Unet blocks L1/L2 and a node to remove trailing comma from string end.",
"files": [
"https://github.com/plugcrypt/CRT-Nodes"
],
"id": "CRT-Nodes",
"install_type": "git-clone",
"reference": "https://github.com/plugcrypt/CRT-Nodes",
"title": "CRT-Nodes"
},
{
"author": "GiusTex",
"description": "ComfyUI nodes for outpainting images with diffusers, based on [a/diffusers-image-outpaint](https://huggingface.co/spaces/fffiloni/diffusers-image-outpaint/tree/main) by fffiloni.",
"files": [
"https://github.com/GiusTex/ComfyUI-DiffusersImageOutpaint"
],
"install_type": "git-clone",
"reference": "https://github.com/GiusTex/ComfyUI-DiffusersImageOutpaint",
"title": "ComfyUI-DiffusersImageOutpaint"
},
{
"author": "Ser-Hilary",
"description": "Nodes:sizing_node. Size calculation node related to image size in prompts supported by SDXL.",
File diff suppressed because it is too large Load Diff
@@ -3432,6 +3432,17 @@
"type": "controlnet",
"url": "https://huggingface.co/Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro/resolve/main/diffusion_pytorch_model.safetensors"
},
{
"base": "FLUX.1",
"description": "FLUX.1 [Dev] Union Controlnet. Supports Canny, Tile, Depth, Blur, Pose, Gray, Low Quality\nVersion quantized to fp8_e4m3fn by Kijai",
"filename": "flux_shakker_labs_union_pro-fp8_e4m3fn.safetensors",
"name": "Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro (fp8_e4m3fn) by Kijai",
"reference": "https://huggingface.co/Kijai/flux-fp8",
"save_path": "controlnet/FLUX.1",
"size": "3.3GB",
"type": "controlnet",
"url": "https://huggingface.co/Kijai/flux-fp8/resolve/main/flux_shakker_labs_union_pro-fp8_e4m3fn.safetensors"
},
{
"base": "SDXL",
"description": "All-in-one ControlNet for image generations and editing!",
@@ -4113,6 +4124,28 @@
"size": "1.48GB",
"type": "SegGPT",
"url": "https://huggingface.co/BAAI/SegGPT/resolve/main/seggpt_vit_large.pth"
},
{
"base": "clip",
"description": "Greatly improved TEXT + Detail (as CLIP-L for Flux.1)",
"filename": "ViT-L-14-TEXT-detail-improved-hiT-GmP-HF.safetensors",
"name": "ViT-L-14-TEXT-detail-improved-hiT-GmP-HF.safetensors [Long CLIP L]",
"reference": "https://huggingface.co/zer0int",
"save_path": "clip/long_clip",
"size": "931MB",
"type": "clip",
"url": "https://huggingface.co/zer0int/CLIP-GmP-ViT-L-14/resolve/main/ViT-L-14-TEXT-detail-improved-hiT-GmP-HF.safetensors"
},
{
"base": "clip",
"description": "Greatly improved TEXT + Detail (as CLIP-L for Flux.1)",
"filename": "ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors",
"name": "ViT-L-14-TEXT-detail-improved-hiT-GmP-HF.safetensors [Long CLIP L]",
"reference": "https://huggingface.co/zer0int",
"save_path": "clip/long_clip",
"size": "323MB",
"type": "clip",
"url": "https://huggingface.co/zer0int/CLIP-GmP-ViT-L-14/resolve/main/ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors"
}
]
}
File diff suppressed because it is too large Load Diff
@@ -853,12 +853,11 @@ async def install_modelscope_model(request):
if ('filename' not in json_data) or json_data['filename'].strip() == '':
return web.Response(text=json.dumps({"Message": "missing filename", "Success": False, "Code": 400}), status=400)
file_path = json_data['filename']
revision = 'master'
if ('revision' in json_data) or (json_data['revision'].strip() != ""):
revision = json_data['revision']
else:
revision = ""
revision = ''
if 'revision' in json_data:
if json_data['revision'].strip() != "":
revision = json_data['revision']
if ('save_path' not in json_data) or json_data['save_path'].strip() == '':
json_data['save_path'] = ""
@@ -893,6 +892,8 @@ async def modelscope_downloader(uuid):
model_id = modelscope_download_tasks[uuid]["model_id"]
filename = modelscope_download_tasks[uuid]["filename"]
save_path = core.comfy_path + '/models/' + modelscope_download_tasks[uuid]["save_path"]
if not save_path.endswith('/'):
save_path += ('/' + model_id + '/')
revision = modelscope_download_tasks[uuid]["revision"]
ms_args = ['modelscope', 'download', '--model', model_id, filename, '--local_dir', save_path]