Spaces:
Runtime error
Runtime error
Commit
·
1707180
1
Parent(s):
b4895cc
misinfo flowchart
Browse files- app.py +22 -4
- images/misinfo_chart.jpeg +0 -0
app.py
CHANGED
|
@@ -1,13 +1,31 @@
|
|
| 1 |
from transformers import pipeline
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
-
|
| 5 |
import os
|
| 6 |
|
| 7 |
# title
|
| 8 |
st.title('Combatting Climate Change Misinformation with Transformers')
|
| 9 |
|
| 10 |
# section 1: the context, problem; how to address
|
| 11 |
-
st.markdown("
|
| 12 |
-
st.markdown("
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
from transformers import pipeline
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
+
from PIL import Image
|
| 5 |
import os
|
| 6 |
|
| 7 |
# title
|
| 8 |
st.title('Combatting Climate Change Misinformation with Transformers')
|
| 9 |
|
| 10 |
# section 1: the context, problem; how to address
|
| 11 |
+
st.markdown("### The Problem 🤔")
|
| 12 |
+
st.markdown("")
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
# section 2: what is misinformation? how is it combatted now? how successful is this?
|
| 16 |
+
st.markdown("### More about Misinformation")
|
| 17 |
+
|
| 18 |
+
st.markdown("* misinformation: “misleading information that is created and spread, regardless of whether there is intent to deceive”")
|
| 19 |
+
|
| 20 |
+
misinfo_flowchart = Image.open('/images/misinfo_chart.jpeg')
|
| 21 |
+
st.image(misinfo_flowchart, caption='The misinformation flowchart')
|
| 22 |
+
|
| 23 |
+
# section 3: how can transformers help?
|
| 24 |
+
|
| 25 |
+
# section 4: The process
|
| 26 |
+
|
| 27 |
+
# section 5: my work
|
| 28 |
+
|
| 29 |
+
# section 6: analysis
|
| 30 |
+
|
| 31 |
+
# section 7: conclusion
|
images/misinfo_chart.jpeg
ADDED
|