SentiFlow is a real-time sentiment intelligence system with:
- FastAPI backend using HuggingFace DistilBERT sentiment model
- Streamlit frontend dashboard
- Batch CSV and manual text support
- Sentiment distribution, trends, word cloud
- Create Python venv
python -m venv .venv
.venv\Scripts\activate- Install backend and frontend deps
pip install -r sentiflow/backend/requirements.txt
pip install -r sentiflow/frontend/requirements.txtuvicorn sentiflow.backend.app:app --reload --port 8000streamlit run sentiflow/frontend/dashboard.pyPOST /predict{"text": "some text"}POST /predict_batch{"texts": ["t1", "t2"]}POST /predict_csv{"csv_path": "path/to.csv", "text_column": "text"}