mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-06 18:07:03 +08:00
Add type hints
This commit is contained in:
parent
c544038d6f
commit
65565c1d21
@ -266,7 +266,7 @@ class ExtendIntermediateSigmas:
|
||||
|
||||
FUNCTION = "extend"
|
||||
|
||||
def extend(self, sigmas, steps, start_at_sigma, end_at_sigma, spacing):
|
||||
def extend(self, sigmas: torch.Tensor, steps: int, start_at_sigma: float, end_at_sigma: float, spacing: str):
|
||||
if start_at_sigma < 0:
|
||||
start_at_sigma = float("inf")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user