The method Craiyon.generate() should return GeneratedImages(resp.json().get('images'))
matteobovio opened this issue · 2 comments
matteobovio commented
At the moment, the method returns GeneratedImages(resp.json())
.
However, the response from the server is a json where the array of images (required by the class GeneratedImages
) is under images
.
FireHead90544 commented
Will fix it in the next update, as soon as my exams finishes.
FireHead90544 commented
Fixed it in the v0.2.0 which is released on PyPI as well.
Run pip install -U craiyon
to upgrade to the latest version :D