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

Add seed in text to image specs #888

Merged
merged 2 commits into from
Sep 2, 2024
Merged

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Sep 2, 2024

Following @apolinario's PR huggingface/api-inference-community#450. This PR adds a "seed" input parameter in the text-to-image specs.

packages/tasks/src/tasks/text-to-image/inference.ts Outdated Show resolved Hide resolved
packages/tasks/src/tasks/text-to-image/spec/input.json Outdated Show resolved Hide resolved
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
Copy link
Member

@osanseviero osanseviero left a comment

Choose a reason for hiding this comment

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

Thanks!

@Wauplin
Copy link
Contributor Author

Wauplin commented Sep 2, 2024

Thanks both for the quick review! I've applied the changes and will now merge it :)

@Wauplin Wauplin merged commit 1701fac into main Sep 2, 2024
3 of 5 checks passed
@Wauplin Wauplin deleted the add-seed-in-text-to-image-specs branch September 2, 2024 17:00
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.

3 participants