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

Added example task 'Interactive Image Generation' #1257

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

meta-paul
Copy link
Contributor

@meta-paul meta-paul commented Oct 31, 2024

Added a new example of a Model-in-the-Loop task that's based on FormComposer.

The task is an iterative prompt-driven image generation where Worker interacts with the server after every round of responses, and each response is form-based (and represented by a fieldset).

FormComposer was enhanced to support:

  • dynamic fieldsets (so multiple instances of the same response fieldset can be saved)
  • additional context for triggers to modify react state of the Task form
  • buttons as an element of a form fieldset (in addition to the standard form fields)
  • more modular set of React components (a refactor of existing larger code blocks)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 31, 2024
@meta-paul meta-paul merged commit 9e8bb15 into main Oct 31, 2024
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants