Spaces:
Sleeping
Sleeping
init
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
def predict_fake_or_true_news(text):
|
3 |
text_tfidf = tfidf_vectorizer.transform([text])
|
4 |
prediction = clf.predict(text_tfidf)
|
|
|
1 |
+
imoort gradio as gr
|
2 |
def predict_fake_or_true_news(text):
|
3 |
text_tfidf = tfidf_vectorizer.transform([text])
|
4 |
prediction = clf.predict(text_tfidf)
|