epvienneau / skin_lesion_classification_app

MIT License
0 stars 0 forks source link

Fix the problem that only jpg images work (no pngs)... #68

Open epvienneau opened 6 years ago

epvienneau commented 6 years ago

Something is going wrong in posting to /prediction endpoint.... it prints "hi", so it gets into the getPrediction function in Upload.js, but then the post throws an error for some reason.

suyashkumar commented 6 years ago

Supporting only JPGs is fine for the MVP. Maybe consider returning a meaningful error if they submit a png?

epvienneau commented 6 years ago

Good idea!