Skip to content

abrahamkunnan/NewsSense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewsSense: Bias & Misinformation Detection

NewsSense is a Flask-based web app that allows users to upload or link to news articles and receive:

  • A concise summary
  • A detailed bias score and rubric
  • Highlighted biased phrases and an unbiased rewrite
  • Flagged misinformation claims based on trusted sources

Features

  • Uses OpenAI to summarize and detect bias
  • Verifies factual claims using an agentic AI
  • Supports article input via text, PDF, DOCX, or URL
  • Live scrolling feed of trusted news headlines
  • Interactive highlights with tooltips for bias and misinformation

Installation

  1. Clone the repo
git clone https://github.com/yourusername/newssense.git
cd newssense
  1. Create a virtual environment (Optional)
python -m venv venv
source venv/bin/activate  # or venv\Scripts\activate on Windows
  1. Install dependencies
pip install -r requirements.txt
  1. Set up environment variables
    Create a .env file in the root directory with the following content:
OPENAI_API_KEY=...
NEWS_API_KEY=...
  1. Run the App
python app.py

About

This is our Code2College AI project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors