Tejas-Rote / Toxic_comment_Classifier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic setup

  1. Clone the repo to your local directory
  2. Create a new environment through Anaconda Prompt
  • Enter 'conda env create -f toxic_test.yml'
  • Enter 'python -m ipykernel install --user --name toxic --display-name toxic
  • Enter 'conda activate toxic' (you can deactivate the env later)

How to run the Flask app:

  1. Open Anaconda Prompt
  2. Change directory to 'Flask app for toxic comments' (cd .....)
  3. Enter 'python toxic_app.py' to run the Python file
  4. If you encounter a Module Not Found Error, enter 'pip install flask'
  5. Copy the IP address where the Flask is running at (eg. 'http://127.0.0.1:5000/) into your browser
  6. You should see the app in action

About


Languages

Language:Jupyter Notebook 98.8%Language:CSS 0.7%Language:Python 0.3%Language:HTML 0.2%