Open epvienneau opened 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.
Supporting only JPGs is fine for the MVP. Maybe consider returning a meaningful error if they submit a png?
Good idea!
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.