Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Local AI Text Analysis

Real sentiment analysis using a local transformer model (DistilBERT). No data leaves your computer. Includes a live monitoring dashboard with API call tracking, response times, and searchable history.

Requirements

  • Python
  • Internet for the first run (downloads the model ~300 MB)

Installation

  1. Clone or download the project files.
  2. Create and activate a virtual environment:
    python3 -m venv venv
    source venv/bin/activate   # On Windows: venv\Scripts\activate
    
  3. Install dependencies:
    pip install flask transformers torch psutil
    
  4. Run the app:
    python app.py
    
  5. Open your browser at http://127.0.0.1:5000

Project structure

.
├── app.py # Flask backend with /api/analyze, /api/analyses, /status
├── templates/
│ ├── index.html # Main playground + dashboard
│ └── history.html # Searchable history page
├── sentiment.db # SQLite database (auto‑created)
└── README.md

About

A local AI api that recives a sentence/text and analyses it and responds if it's positive, negative or neutral.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages