Utkarsh524's picture
Create README.md
d16aa23 verified

A newer version of the Streamlit SDK is available: 1.56.0

Upgrade
metadata
title: Fake News Detector
emoji: πŸ“°
colorFrom: indigo
colorTo: green
sdk: streamlit
sdk_version: 1.37.0
app_file: app.py
pinned: false

πŸ“° Fake News Detection App

This Streamlit app allows you to classify news articles as Fake or Real using multiple machine learning models (Logistic Regression, Naive Bayes, Random Forest, and SVM).

πŸš€ How it works

  • Enter a news article in the text box.
  • Choose a machine learning model.
  • Get instant predictions about whether the news is Fake or Real.

βš™οΈ Models

The models are stored on the Hugging Face Hub for easy loading:

  • Logistic Regression
  • Naive Bayes
  • Random Forest
  • Support Vector Machine (SVM)

πŸ“¦ Dependencies

Defined in requirements.txt:

  • streamlit
  • scikit-learn
  • huggingface-hub

βœ… Hosted with Streamlit on Hugging Face Spaces