Skip to content

emmakodes/fastapi-toxic-comment-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastapi-toxic-comment-detector

This Project detects if a comment is toxic or not. It is built using FastAPI

How to setup the project locally

  • Clone the project git clone https://github.com/emmakodes/fastapi-toxic-comment-detector.git
  • cd fastapi-toxic-comment-detector
  • Create a virtual environment .venv python -m venv .venv
  • Activate the virtual environment .venv\Scripts\activate
  • run pip install -r requirements.txt on the terminal to install the project requirements
  • start the project using the following command: uvicorn app.main:app --reload

How the project works

  • Start the project using the following command: uvicorn app.main:app --reload
  • Go to Postman, change the method to POST, access the following path http://127.0.0.1:8000/comments/ pass your comment to the body of the request, and click Send. The API should respond with a response fastapi1

About

This Project detects if a comment is toxic or not. It is built using FastAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages