Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 463 Bytes

README.md

File metadata and controls

10 lines (10 loc) · 463 Bytes

TextSentimentClassifier

A Flask app for text sentiment analysis based on ChatGPT.

How to run:

  • Clone the repo
  • Open the repo in a text editor/IDE e.g. VS Code
  • Open Terminal and execute cp .env.example .env
  • Add your secret key - obtained from OpenAPI - into the .env file
  • Install openai, flask, and dotenv packages python -m pip install openai flask python-dotenv
  • Run app.py file
  • Navigate to http://127.0.0.1:5000 on your browser page