A Flask app for text sentiment analysis based on ChatGPT.
- 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