Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 534 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 534 Bytes

fastapi-spam-detection

Deploying and Hosting an sklearn Spam Detection Model with FastAPI and Heroku

To test

curl -X 'GET' \
  'https://fast-dusk-61250.herokuapp.com/spam_detection_path/attention%3A%20claim%20your%20free%20prize%21' \
  -H 'accept: application/json'

You should get a similar response:

{"label":"spam","spam_probability":0.9999162619796017}

Want to learn how to build this?

Check out the post.