title: NYTimes Homepage Sentiment Analysis emoji: đ° colorFrom: red colorTo: green sdk: docker app_port: 7860 pinned: false short_description: News Sentiment Analysis Toggle Between Good and Bad
This project is an experiment running sentiment analysis on the current New York Times homepage headlines RSS. It also provides a sorting button to toggle between good and bad news firstđ . It's built with a custom SvelveKit front-end , served by a Flask application and using transformers pipeline for the sentiment analysis.
python -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python app.py
cd frontend
npm install
npm run dev
or
make build-all
make run