Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def test(text):
|
|
53 |
description = "Fake news detector trained using pre-trained model bert-base-uncased, fine-tuned on https://www.kaggle.com/clmentbisaillon/fake-and-real-news-dataset dataset"
|
54 |
title = "Fake News Detector"
|
55 |
|
56 |
-
examples = ["
|
57 |
|
58 |
iface = gr.Interface(fn=test, inputs="text", outputs="text", title=title,description=description, examples=examples)
|
59 |
iface.launch()
|
|
|
53 |
description = "Fake news detector trained using pre-trained model bert-base-uncased, fine-tuned on https://www.kaggle.com/clmentbisaillon/fake-and-real-news-dataset dataset"
|
54 |
title = "Fake News Detector"
|
55 |
|
56 |
+
examples = ["CNN - Two people in China are being treated for plague, authorities said Tuesday. It’s the second time the disease, the same one that caused the Black Death, one of the deadliest pandemics in human history, has been detected in the region – in May, a Mongolian couple died from bubonic plague after eating the raw kidney of a marmot, a local folk health remedy."]
|
57 |
|
58 |
iface = gr.Interface(fn=test, inputs="text", outputs="text", title=title,description=description, examples=examples)
|
59 |
iface.launch()
|