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

Error getting image to krita after successful generation on collab #53

Open
vo7na8 opened this issue Nov 3, 2022 · 1 comment
Open

Comments

@vo7na8
Copy link

vo7na8 commented Nov 3, 2022

after image generation on colab i get this piece of logs:
100%
19/19 [00:05<00:00, 3.70it/s]
ERROR:main:Exception on /api/img2img [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "", line 76, in img2img
)["sample"][0]
File "/usr/local/lib/python3.7/dist-packages/diffusers/utils/outputs.py", line 88, in getitem
return inner_dict[k]
KeyError: 'sample'
INFO:werkzeug:127.0.0.1 - - [03/Nov/2022 14:42:37] "POST /api/img2img HTTP/1.1" 500 -

I think that image generated sucsessfully, but it somehow cannot be transferred to my pc. How can i fix this?

@vo7na8 vo7na8 changed the title Error getting image to krita after sucsessful generation on collab Error getting image to krita after successful generation on collab Nov 4, 2022
@brunolm
Copy link

brunolm commented Oct 7, 2023

Fix: #51 (comment)

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

No branches or pull requests

2 participants