mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-07 22:47:08 +08:00
[Kling] Fix: image generation nodes not returning Tuple (#159)
This commit is contained in:
parent
5b523ce4f4
commit
1dc3880ca4
@ -1388,7 +1388,7 @@ class KlingVirtualTryOnNode(KlingImageGenerationBase):
|
|||||||
validate_image_result_response(final_response)
|
validate_image_result_response(final_response)
|
||||||
|
|
||||||
images = get_images_from_response(final_response)
|
images = get_images_from_response(final_response)
|
||||||
return image_result_to_node_output(images)
|
return (image_result_to_node_output(images),)
|
||||||
|
|
||||||
|
|
||||||
class KlingImageGenerationNode(KlingImageGenerationBase):
|
class KlingImageGenerationNode(KlingImageGenerationBase):
|
||||||
@ -1517,7 +1517,7 @@ class KlingImageGenerationNode(KlingImageGenerationBase):
|
|||||||
validate_image_result_response(final_response)
|
validate_image_result_response(final_response)
|
||||||
|
|
||||||
images = get_images_from_response(final_response)
|
images = get_images_from_response(final_response)
|
||||||
return image_result_to_node_output(images)
|
return (image_result_to_node_output(images),)
|
||||||
|
|
||||||
|
|
||||||
NODE_CLASS_MAPPINGS = {
|
NODE_CLASS_MAPPINGS = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user