This is a simple sentiment analysis web application built using Flask, Hugging Face Transformers, TensorFlow, and styled with Tailwind CSS. The app takes a sentence as input and predicts whether the sentiment is positive or negative.
pip
(Python package installer)Clone the repository
git clone https://github.com/neuralsorcerer/sentiment-analysis-app.git
cd sentiment-analysis-app
Create a virtual environment
python -m venv venv
Activate the virtual environment
On Windows:
venv\Scripts\activate
On macOS and Linux:
source venv/bin/activate
Install dependencies
pip install -r requirements.txt
Run the Flask app
python app.py
Open your browser
Navigate to http://127.0.0.1:5000/
to access the web application.