ComfyUI控件Load Video (Upload)force_size参数 无法输入
ComfyUI控件Load Video (Upload)force_size参数 无法输入的问题怎麽解决呢
修改F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite\videohelpersuite\load_video_nodes.py
第118行,
修改前:"force_size": (["Disabled", "256x?", "?x256", "256x256", "512x?", "?x512", "512x512"]),
修改后:
"force_size": (["Disabled", "256x?", "?x256", "256x256", "512x?", "?x512", "512x512"],),
修改点:增加了一个逗号
也可以版段修改:
第115行-122行
修改前
return {"required": {
"video": (sorted(files), {"video_upload": True}),
"force_rate": ("INT", {"default": 0, "min": 0, "max": 24, "step": 1}),
"force_size": (["Disabled", "256x?", "?x256", "256x256", "512x?", "?x512", "512x512"]),
"frame_load_cap": ("INT", {"default": 0, "min": 0, "step": 1}),
"skip_first_frames": ("INT", {"default": 0, "min": 0, "step": 1}),
"select_every_nth": ("INT", {"default": 1, "min": 1, "step": 1}),
},}
修改后
return {"required": {
"video": (sorted(files), {"video_upload": True}),
"force_rate": ("INT", {"default": 0, "min": 0, "max": 24, "step": 1}),
"force_size": (["Disabled", "256x?", "?x256", "256x256", "512x?", "?x512", "512x512"],),
"frame_load_cap": ("INT", {"default": 0, "min": 0, "step": 1}),
"skip_first_frames": ("INT", {"default": 0, "min": 0, "step": 1}),
"select_every_nth": ("INT", {"default": 1, "min": 1, "step": 1}),
},}
更多推荐
所有评论(0)