Aytaj commited on
Commit
ef8808f
·
1 Parent(s): d1f1ce3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from transformers import pipeline
3
 
4
  # Load the text classification pipeline for sentiment analysis
5
- fake_news_detector = pipeline("text-classification", model="facebook/unilm-base-cased-finetuned-fake-news")
6
 
7
  # Streamlit app
8
  st.title("Fake News Detector")
 
2
  from transformers import pipeline
3
 
4
  # Load the text classification pipeline for sentiment analysis
5
+ fake_news_detector = pipeline("text-classification", model="distilroberta-base-finetuned-fake-news-detection")
6
 
7
  # Streamlit app
8
  st.title("Fake News Detector")