Skip to content

Upload on image_classifier branch - causing error with PIL.image #18

Description

@andy-iio

*On the image_classifier branch
Uploading an image causes the app to break, and the following error occurs:

image_utils.py", line 227, in load_img
    raise ImportError(
ImportError: Could not import PIL.Image. The use of `load_img` requires PIL.

if something needs to be imported/installed to use PIL.Image please add it to the requirements.txt file.

Steps to recreate

  1. Start server and client
  2. click upload image button
  3. select an image to upload and click post, error below occurs:

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions