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

fix(nodes,ui): metadata recall #5957

Merged
merged 5 commits into from
Mar 14, 2024
Merged

Commits on Mar 14, 2024

  1. Configuration menu
    Copy the full SHA
    e9efbb5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ddd05f View commit details
    Browse the repository at this point in the history
  3. feat(nodes): add control adapter processed images to metadata

    In the client, a controlnet or t2i adapter has two images:
    - The source control image: the image the user selected (required)
    - The processed control image: the user's image after we've processed it (optional)
    
    The processed image is optional because a user may provide a pre-processed image.
    
    We only actually use one of these images when building the graph, and until this change, we only stored one of the in image metadata. This created a situation where only a processed image was stored in metadata - say, a canny edge map - and the user-selected image wasn't provided.
    
    By adding the processed image to metadata, we can recall both the control image and optional processed image.
    
    This commit is followed by a UI-facing changes to support the change.
    psychedelicious authored and brandonrising committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    a14dc86 View commit details
    Browse the repository at this point in the history
  4. chore(ui): typegen

    psychedelicious authored and brandonrising committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    76296cc View commit details
    Browse the repository at this point in the history
  5. feat(ui): handle control adapter processed images

    - Add helper functions to build metadata for control adapters, including the processed images
    - Update parses to parse the new metadata
    psychedelicious authored and brandonrising committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    f11e173 View commit details
    Browse the repository at this point in the history