balaji-sivasakthi / InfoSense

Utilizes AI for classification, stores requests and predictions, and offers a history of past classifications.
https://info-sense.vercel.app
MIT License
9 stars 4 forks source link
article classifier fastapi hacktoberfest ml news python react typesc

AI-Powered News Article Classifier

Description:

This web application classifies news articles into categories, tracks past classification requests, and provides users with insights into article categorization. It takes a news article URL as input, scrapes the article content, predicts its category using an AI model, stores the request and prediction in a database and displays the predicted category along with a history of past classification requests.

Preview

Table of Contents

Getting Started

Begin by setting up and running the project on your local machine.

Prerequisites

Before you begin, ensure you have the following prerequisites installed:

Installation

Follow these steps to get the project up and running:

  1. Server

     cd server
     pip install -r requirements.txt
     uvicorn main:app --reload
  2. Client

    cd client
    npm install
    npm run dev

Usage

To use the application:

  1. Navigate to the application's URL.
  2. Input a news article URL and submit the form.
  3. The application will scrape the article, predict its category, and display the result.
  4. Explore the history section to view past classification requests.

Features

Architecture

License

This project is licensed under the MIT License. See the LICENSE file for details.