radames / NYTimes-homepage-rearranged-hf-spaces

Home Page:https://huggingface.co/spaces/radames/NYTimes-homepage-rearranged

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

title emoji colorFrom colorTo sdk app_port pinned short_description
NYTimes Homepage Sentiment Analysis
📰
red
green
docker
7860
false
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

go http://localhost:5173/

or

make build-all
make run

go http://127.0.0.1:7860

About

https://huggingface.co/spaces/radames/NYTimes-homepage-rearranged


Languages

Language:Svelte 50.2%Language:Python 29.5%Language:JavaScript 9.4%Language:Dockerfile 5.3%Language:HTML 3.9%Language:Makefile 1.2%Language:CSS 0.5%