mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-15 08:40:50 +08:00
changed return type to generated_tokens
This commit is contained in:
parent
01e93c7b7f
commit
470bd9ef5c
@ -18,7 +18,7 @@ class AutoRegressiveGeneration:
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("TOKENS",)
|
||||
RETURN_TYPES = ("GENERATED_TOKENS",)
|
||||
FUNCTION = "generate"
|
||||
|
||||
CATEGORY = "sampling"
|
||||
@ -35,7 +35,7 @@ class DecodeTokens:
|
||||
return {
|
||||
"required": {
|
||||
"clip": (IO.CLIP, {"tooltip": "The model used for generation."}),
|
||||
"tokens": ("TOKENS", ),}
|
||||
"tokens": ("GENERATED_TOKENS", ),}
|
||||
}
|
||||
|
||||
FUNCTION = "decode"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user