I had a chance to deploy a simple text-classification model using FastAPI and exposing a /predict endpoint that should accept a text input. But, every time I send a POST request with a string body the FastAPI returns this following message. pls help if anyone knows how to solve it?
422 Unprocessable Entity