Skip to content

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

Notifications You must be signed in to change notification settings

astrogopher/fastapi-spam-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published