An open API service indexing awesome lists of open source software.

https://github.com/andrewwango/stream-nlp-app

Sentiment analysis and visualisation app with Dash
https://github.com/andrewwango/stream-nlp-app

fastapi huggingface-transformers plotly-dash sqlite

Last synced: about 2 months ago
JSON representation

Sentiment analysis and visualisation app with Dash

Awesome Lists containing this project

README

          

# Sentiment analysis for pieces of text.

- NLP pipelines using HuggingFace Transformers.
- NLP bundled into API using FastAPI.
- Analysis results stored in SQLite RDB.
- Live visualisation with Plotly Dash dashboard.

Installation:
`pip install pandas requests uvicorn transformers fastapi dash`

Get started:
1. Start API: `uvicorn api.api:app --reload`
2. Start Dash dashboard: `python dashboard.py`
3. Ingest files and run analytics: `python ingest.py "input/test.txt"`
4. Refresh dashboard to show results.