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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user