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 str check for image for API compatibility related to #567 #568

Merged
merged 1 commit into from
Mar 12, 2023

Conversation

PhoenixCreation
Copy link
Contributor

More details regarding this PR is mentioned in #567.

What has changed

  • scripts/controlnet.process method has now check for image['image'] being str.
  • We will convert it to the np.array if it is string using the modules.api.api.decode_base64_to_image method.

Fixes #567

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.

[API-UPDATE] Need to update to accommodate recent API changes in AUTOMATIC1111
2 participants