Spaces:
Runtime error
Runtime error
metadata
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
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
python -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python app.py
Client
cd frontend
npm install
npm run dev
or
make build-all
make run