1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Apply suggestions from code review

This commit is contained in:
YiYi Xu
2026-01-18 22:44:44 -10:00
committed by GitHub
parent 94525200fd
commit 7e9d2b954e
2 changed files with 2 additions and 2 deletions

View File

@@ -549,7 +549,7 @@ class InputParam:
class OutputParam:
"""Specification for an output parameter."""
name: str = None
name: str
type_hint: Any = None
description: str = ""
kwargs_type: str = None

View File

@@ -674,7 +674,7 @@ class QwenImageLayeredSetTimestepsStep(ModularPipelineBlocks):
return [
InputParam.template("num_inference_steps"),
InputParam.template("sigmas"),
InputParam.template("image_latents", note="Can be generated from vae encoder and packed in input step."),
InputParam.template("image_latents"),
]
@property