Skip to content

bugfix: fix CFG negative prompt judgment & simplify variable names fo…#1256

Open
yiming-l21 wants to merge 1 commit intojd-opensource:mainfrom
yiming-l21:dev
Open

bugfix: fix CFG negative prompt judgment & simplify variable names fo…#1256
yiming-l21 wants to merge 1 commit intojd-opensource:mainfrom
yiming-l21:dev

Conversation

@yiming-l21
Copy link
Copy Markdown
Collaborator

…r QwenImageEditPlus.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request cleans up the QwenImageEditPlusPipelineImpl by removing several unused local variables, including prompts_2, negative_prompts_2, pooled_prompt_embeds, and negative_pooled_prompt_embeds. Additionally, it updates the has_neg_prompt check to correctly account for whether negative_prompt_embeds are defined. I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant