Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
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")
|