CoolFace
Apppublic

radames/NYTimes-homepage-rearranged

sourceHugging Faceupdated 2y agoView on Hugging Face
14likes
App README

The New York Times Sentiment Analysis

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.

Running

Server
bash
python -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python app.py
Client
bash
cd frontend
npm install
npm run dev

go http://localhost:5173/

or

bash
make build-all
make run

go http://127.0.0.1:7860