Commit
·
722e05d
1
Parent(s):
9604e0d
Update app.py
Browse files
app.py
CHANGED
@@ -56,11 +56,17 @@ def get_news(input_text):
|
|
56 |
tweet_input = gr.Textbox(label = "Enter the tweet")
|
57 |
output = gr.Textbox(label="Result")
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
iface = gr.Interface(fn = get_news,
|
60 |
inputs = tweet_input,
|
61 |
outputs = output,
|
62 |
title = 'Covid Fake News Detection System',
|
63 |
-
description=
|
64 |
examples=["CDC Recommends Mothers Stop Breastfeeding To Boost Vaccine Efficacy",
|
65 |
"An article claiming that Bill Gates' vaccine would modify human DNA.",
|
66 |
"In the first half of 2020 WHO coordinated the logistics & shipped 😷More than 3M surgical masks 🧤More than 2M gloves 🧰More than 1M diagnostic kits 🥼More than 200K gowns 🛡️More than 100K face shields to 135 countries across the🌍🌎🌏. https://t.co/iz4YQkbSGM",
|
|
|
56 |
tweet_input = gr.Textbox(label = "Enter the tweet")
|
57 |
output = gr.Textbox(label="Result")
|
58 |
|
59 |
+
descripcion = head = (
|
60 |
+
"<center>"
|
61 |
+
"<img src='robot_reading_news.png'>"
|
62 |
+
"Demo of the Covid-Twitter Fake News Detection System from my thesis."
|
63 |
+
"</center>"
|
64 |
+
)
|
65 |
iface = gr.Interface(fn = get_news,
|
66 |
inputs = tweet_input,
|
67 |
outputs = output,
|
68 |
title = 'Covid Fake News Detection System',
|
69 |
+
description=descripcion,
|
70 |
examples=["CDC Recommends Mothers Stop Breastfeeding To Boost Vaccine Efficacy",
|
71 |
"An article claiming that Bill Gates' vaccine would modify human DNA.",
|
72 |
"In the first half of 2020 WHO coordinated the logistics & shipped 😷More than 3M surgical masks 🧤More than 2M gloves 🧰More than 1M diagnostic kits 🥼More than 200K gowns 🛡️More than 100K face shields to 135 countries across the🌍🌎🌏. https://t.co/iz4YQkbSGM",
|