Skip to content

fix validation check for comfyUI imagen3 and imagen4 nodes #288

@gushob21

Description

@gushob21

if seed and add_watermark:
raise ValueError("Seed is not supported when add_watermark is enabled.")

The above should be validation check for seed and enhance_prompt instead. Updated imagen3_api.py and imagen4_api.py files to update this if statement. Also update the workflows to make enhanced prompt false by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions