Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text2img task to support negative prompts #407

Merged
merged 12 commits into from
Feb 12, 2024

Conversation

gauravrajguru
Copy link
Contributor

@gauravrajguru gauravrajguru commented Feb 5, 2024

Adding support for Negative prompt as input to text2img stable diffusion model.

Currently, only query and extra params dictionary can be passed to the stable diffusion pipeline. Extra parameters should be in type <str | basic data type>. It doesn't support parameter input as list. This PR enable users to pass negative prompt which can be in List data type as query.

Also, this PR renamed query as prompt which is more suitable for text2img model (SDPipeline as refer this parameter as prompt.)

Please let me know your suggestions/ comments.

@mrwyattii mrwyattii merged commit af874da into microsoft:main Feb 12, 2024
2 of 3 checks passed
@gauravrajguru gauravrajguru deleted the grajguru/mii_extra_params branch February 12, 2024 20:28
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.

2 participants