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(api): model cover image lost #6337

Merged
merged 2 commits into from May 12, 2024

Conversation

psychedelicious
Copy link
Collaborator

Summary

Fixes two bugs with model cover images:

Related Issues / Discussions

^ reddit links

QA Instructions

Losing cover image when editing a model:

  • Set a model's image (e.g. a LoRA)
  • Edit the model in any way (e.g. add a trigger phrase to a LoRA)
  • The image should not be lost

Losing cover image when converting a diffusers model:

  • Set a model image on a diffusers model
  • Convert to diffusers
  • The image should not be lost

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

@psychedelicious psychedelicious enabled auto-merge (rebase) May 12, 2024 22:27
@psychedelicious psychedelicious force-pushed the psyche/fix/api/model-cover-image branch from 7e22fe4 to a0dfddc Compare May 12, 2024 22:38
@psychedelicious psychedelicious merged commit 818d37f into main May 12, 2024
14 checks passed
@psychedelicious psychedelicious deleted the psyche/fix/api/model-cover-image branch May 12, 2024 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants