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

Api error #2

Closed
RyanManchikanti opened this issue Mar 24, 2021 · 1 comment
Closed

Api error #2

RyanManchikanti opened this issue Mar 24, 2021 · 1 comment

Comments

@RyanManchikanti
Copy link

After following everything described in the tutorial , i finally got a url after deploying sls model.
when i pasted that url in notebooks an executed the code i kept getting this error, any help is much appreciated , i'm very close to completing this project i need help with this error.

KeyError: 'output'

KeyError Traceback (most recent call last)
in
----> 1 image = response.json()["output"]
2
3 image = image[image.find(",")+1:]
4 dec = base64.b64decode(image + "===")
5
KeyError: 'output'

@ahmedbesbes
Copy link
Owner

duplicate here . closing this issue

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