Browse Source

fix: add fileno on prestartup_script

update DB
pull/118/head
Dr.Lt.Data 1 year ago
parent
commit
7d6109aa6c
  1. 2
      __init__.py
  2. 5
      extension-node-map.json
  3. 11
      model-list.json
  4. 5
      node_db/new/extension-node-map.json
  5. 10
      node_db/new/model-list.json
  6. 10
      prestartup_script.py

2
__init__.py

@ -56,7 +56,7 @@ sys.path.append('../..')
from torchvision.datasets.utils import download_url
# ensure .js
print("### Loading: ComfyUI-Manager (V0.30.5)")
print("### Loading: ComfyUI-Manager (V0.31)")
comfy_ui_required_revision = 1240
comfy_ui_revision = "Unknown"

5
extension-node-map.json

@ -569,6 +569,7 @@
],
"https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite": [
[
"VHS_LoadVideo",
"VHS_VideoCombine"
],
{
@ -1982,7 +1983,6 @@
[
"ConsoleDebug+",
"GetImageSize+",
"GrowShrinkMask+",
"ImageCASharpening+",
"ImageCrop+",
"ImageDesaturate+",
@ -2374,6 +2374,7 @@
"FromDetailerPipe",
"FromDetailerPipeSDXL",
"FromDetailerPipe_v2",
"ImageListToImageBatch",
"ImageMaskSwitch",
"ImageReceiver",
"ImageSender",
@ -2396,6 +2397,7 @@
"ImpactKSamplerAdvancedBasicPipe",
"ImpactKSamplerBasicPipe",
"ImpactLogger",
"ImpactMakeImageBatch",
"ImpactMakeImageList",
"ImpactMinMax",
"ImpactNeg",
@ -2494,6 +2496,7 @@
"KSampler //Inspire",
"KSamplerAdvanced //Inspire",
"LeRes_DepthMap_Preprocessor_Provider_for_SEGS //Inspire",
"LoadImagesFromDir //Inspire",
"LoadPromptsFromDir //Inspire",
"LoadPromptsFromFile //Inspire",
"LoraBlockInfo //Inspire",

11
model-list.json

@ -1041,6 +1041,17 @@
"filename": "mm-Stabilized_mid.pth",
"url": "https://huggingface.co/manshoety/AD_Stabilized_Motion/resolve/main/mm-Stabilized_mid.pth"
},
{
"name": "CiaraRowles/temporaldiff-v1-animatediff.ckpt (ComfyUI-AnimateDiff-Evolved)",
"type": "animatediff",
"base": "SD1.x",
"save_path": "custom_nodes/ComfyUI-AnimateDiff-Evolved/models",
"description": "Pressing 'install' directly downloads the model from the Kosinkadink/ComfyUI-AnimateDiff-Evolved extension node. (Note: Requires ComfyUI-Manager V0.24 or above)",
"reference": "https://huggingface.co/CiaraRowles/TemporalDiff",
"filename": "temporaldiff-v1-animatediff.ckpt",
"url": "https://huggingface.co/CiaraRowles/TemporalDiff/resolve/main/temporaldiff-v1-animatediff.ckpt"
},
{
"name": "ip-adapter_sdxl.bin<BR>(install to IPAdapter-ComfyUI)",

5
node_db/new/extension-node-map.json

@ -569,6 +569,7 @@
],
"https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite": [
[
"VHS_LoadVideo",
"VHS_VideoCombine"
],
{
@ -1982,7 +1983,6 @@
[
"ConsoleDebug+",
"GetImageSize+",
"GrowShrinkMask+",
"ImageCASharpening+",
"ImageCrop+",
"ImageDesaturate+",
@ -2374,6 +2374,7 @@
"FromDetailerPipe",
"FromDetailerPipeSDXL",
"FromDetailerPipe_v2",
"ImageListToImageBatch",
"ImageMaskSwitch",
"ImageReceiver",
"ImageSender",
@ -2396,6 +2397,7 @@
"ImpactKSamplerAdvancedBasicPipe",
"ImpactKSamplerBasicPipe",
"ImpactLogger",
"ImpactMakeImageBatch",
"ImpactMakeImageList",
"ImpactMinMax",
"ImpactNeg",
@ -2494,6 +2496,7 @@
"KSampler //Inspire",
"KSamplerAdvanced //Inspire",
"LeRes_DepthMap_Preprocessor_Provider_for_SEGS //Inspire",
"LoadImagesFromDir //Inspire",
"LoadPromptsFromDir //Inspire",
"LoadPromptsFromFile //Inspire",
"LoraBlockInfo //Inspire",

10
node_db/new/model-list.json

@ -1,5 +1,15 @@
{
"models": [
{
"name": "CiaraRowles/temporaldiff-v1-animatediff.ckpt (ComfyUI-AnimateDiff-Evolved)",
"type": "animatediff",
"base": "SD1.x",
"save_path": "custom_nodes/ComfyUI-AnimateDiff-Evolved/models",
"description": "Pressing 'install' directly downloads the model from the Kosinkadink/ComfyUI-AnimateDiff-Evolved extension node. (Note: Requires ComfyUI-Manager V0.24 or above)",
"reference": "https://huggingface.co/CiaraRowles/TemporalDiff",
"filename": "temporaldiff-v1-animatediff.ckpt",
"url": "https://huggingface.co/CiaraRowles/TemporalDiff/resolve/main/temporaldiff-v1-animatediff.ckpt"
},
{
"name": "animatediff/mm_sd_v15_v2.ckpt (ComfyUI-AnimateDiff-Evolved)",
"type": "animatediff",

10
prestartup_script.py

@ -27,6 +27,16 @@ try:
def __init__(self, is_stdout):
self.is_stdout = is_stdout
def fileno(self):
try:
if self.is_stdout:
return original_stdout.fileno()
else:
return original_stderr.fileno()
except AttributeError:
# Handle error
raise ValueError("The object does not have a fileno method")
def write(self, message):
if not self.is_stdout:
match = re.search(tqdm, message)

Loading…
Cancel
Save