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

Update sd handler to return image in request, fix some default values… #377

Merged
merged 2 commits into from
Dec 10, 2022

Conversation

siddvenk
Copy link
Contributor

Please do not merge until I have run the new tests against the changes here

Description

  • Updates stable diffusion handler to return content-type image/png to user so client can receive image
  • Change some default values from None to empty version of corresponding data type (causes issues in generate if None)
  • Add test for stable-diffusion-v1-4 model

tests/integration/llm/prepare.py Outdated Show resolved Hide resolved
tests/integration/llm/client.py Show resolved Hide resolved
@siddvenk siddvenk force-pushed the ds-stable-diffusion branch 3 times, most recently from e42f922 to 2811a7d Compare December 10, 2022 02:12
@lanking520
Copy link
Member

Merge it for now, let's fix it in the next PR

@lanking520 lanking520 merged commit 656f31b into master Dec 10, 2022
@lanking520 lanking520 deleted the ds-stable-diffusion branch December 10, 2022 20:05
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.

None yet

3 participants