The Vibe Check is a Python-based web application that utilizes artificial intelligence to analyze the emotional tone of text. By leveraging Hugging Face's transformers library, the app can instantly detect if a user's input is Positive or Negative with a specific confidence score.
vibe-check/
βββ app.py # The main application logic
βββ requirements.txt # List of dependencies
βββ .gitignore # Files to exclude (e.g., venv)
βββ README.md # Project documentation
Before you begin, ensure you have the following installed on your machine:
Follow these steps to get the project running locally.
If you have Git installed, clone the repo. If not, download the ZIP file and extract it.
git clone https://github.com/yourusername/vibe-check.git
cd vibe-checkIt is recommended to use a virtual environment to keep your dependencies organized.
On Windows:
python -m venv venv
venv\Scripts\activateOn macOS / Linux:
python3 -m venv venv
source venv/bin/activate(You will know it worked if you see (venv) appear at the start of your terminal line).
Install the required libraries (Transformers, PyTorch, Gradio) using the requirements file:
pip install -r requirements.txtRun the following command in your terminal:
python3 app.pyAfter a few seconds, the terminal will display a local URL. Open your web browser and go to:
Type any sentence into the text box (e.g., "I love learning about AI!") and click Submit.