ahmedbesbes / cartoonify

Deploy and scale serverless machine learning app - in 4 steps.
https://cartoonify.netlify.app/
MIT License
406 stars 81 forks source link

Api error #2

Closed RyanManchikanti closed 3 years ago

RyanManchikanti commented 3 years ago

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 commented 3 years ago

duplicate here . closing this issue