mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 13:32:36 +08:00
Name changes.
This commit is contained in:
parent
df4fa42842
commit
2a79e1b218
@ -629,6 +629,10 @@ class UpscaleModel(ComfyTypeIO):
|
|||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
Type = ImageModelDescriptor
|
Type = ImageModelDescriptor
|
||||||
|
|
||||||
|
@comfytype(io_type="LATENT_UPSCALE_MODEL")
|
||||||
|
class LatentUpscaleModel(ComfyTypeIO):
|
||||||
|
Type = Any
|
||||||
|
|
||||||
@comfytype(io_type="AUDIO")
|
@comfytype(io_type="AUDIO")
|
||||||
class Audio(ComfyTypeIO):
|
class Audio(ComfyTypeIO):
|
||||||
class AudioDict(TypedDict):
|
class AudioDict(TypedDict):
|
||||||
|
|||||||
@ -176,10 +176,10 @@ class LatentUpscaleModelLoader(io.ComfyNode):
|
|||||||
display_name="Load Latent Upscale Model",
|
display_name="Load Latent Upscale Model",
|
||||||
category="loaders",
|
category="loaders",
|
||||||
inputs=[
|
inputs=[
|
||||||
io.Combo.Input("model_name", options=folder_paths.get_filename_list("upscale_models")),
|
io.Combo.Input("model_name", options=folder_paths.get_filename_list("latent_upscale_models")),
|
||||||
],
|
],
|
||||||
outputs=[
|
outputs=[
|
||||||
io.UpscaleModel.Output(),
|
io.LatentUpscaleModel.Output(),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -220,7 +220,7 @@ class HunyuanVideo15LatentUpscaleWithModel(io.ComfyNode):
|
|||||||
display_name="Hunyuan Video 15 Latent Upscale With Model",
|
display_name="Hunyuan Video 15 Latent Upscale With Model",
|
||||||
category="latent",
|
category="latent",
|
||||||
inputs=[
|
inputs=[
|
||||||
io.UpscaleModel.Input("model"),
|
io.LatentUpscaleModel.Input("model"),
|
||||||
io.Latent.Input("samples"),
|
io.Latent.Input("samples"),
|
||||||
io.Combo.Input("upscale_method", options=["nearest-exact", "bilinear", "area", "bicubic", "bislerp"], default="bilinear"),
|
io.Combo.Input("upscale_method", options=["nearest-exact", "bilinear", "area", "bicubic", "bislerp"], default="bilinear"),
|
||||||
io.Int.Input("width", default=1280, min=0, max=16384, step=8),
|
io.Int.Input("width", default=1280, min=0, max=16384, step=8),
|
||||||
|
|||||||
@ -38,6 +38,8 @@ folder_names_and_paths["gligen"] = ([os.path.join(models_dir, "gligen")], suppor
|
|||||||
|
|
||||||
folder_names_and_paths["upscale_models"] = ([os.path.join(models_dir, "upscale_models")], supported_pt_extensions)
|
folder_names_and_paths["upscale_models"] = ([os.path.join(models_dir, "upscale_models")], supported_pt_extensions)
|
||||||
|
|
||||||
|
folder_names_and_paths["latent_upscale_models"] = ([os.path.join(models_dir, "latent_upscale_models")], supported_pt_extensions)
|
||||||
|
|
||||||
folder_names_and_paths["custom_nodes"] = ([os.path.join(base_path, "custom_nodes")], set())
|
folder_names_and_paths["custom_nodes"] = ([os.path.join(base_path, "custom_nodes")], set())
|
||||||
|
|
||||||
folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetworks")], supported_pt_extensions)
|
folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetworks")], supported_pt_extensions)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user