prashant
commited on
Commit
•
1984bd1
1
Parent(s):
bcb73d0
sdg ui update
Browse files- appStore/info.py +1 -10
- appStore/keyword_search.py +1 -0
- appStore/sdg_analysis.py +5 -4
appStore/info.py
CHANGED
@@ -90,13 +90,4 @@ def app():
|
|
90 |
<br>
|
91 |
"""
|
92 |
st.markdown(intro, unsafe_allow_html=True)
|
93 |
-
st.image("docStore/img/pic1.png")
|
94 |
-
#st.subheader("Methodology")
|
95 |
-
#st.write("Each sentence in the generated answer ends with a coloured tooltip; the colour ranges from red to green. "
|
96 |
-
# "The tooltip contains a value representing answer sentence similarity to a specific sentence in the "
|
97 |
-
# "Wikipedia context passages retrieved. Mouseover on the tooltip will show the sentence from the "
|
98 |
-
# "Wikipedia context passage. If a sentence similarity is 1.0, the seq2seq model extracted and "
|
99 |
-
# "copied the sentence verbatim from Wikipedia context passages. Lower values of sentence "
|
100 |
-
# "similarity indicate the seq2seq model is struggling to generate a relevant sentence for the question "
|
101 |
-
# "asked.")
|
102 |
-
#st.image("wikipedia_answer.png", caption="Answer with similarity tooltips")
|
|
|
90 |
<br>
|
91 |
"""
|
92 |
st.markdown(intro, unsafe_allow_html=True)
|
93 |
+
st.image("docStore/img/pic1.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
appStore/keyword_search.py
CHANGED
@@ -51,6 +51,7 @@ def app():
|
|
51 |
meaning/context",
|
52 |
['Exact Matches', 'Similar context/meaning'])
|
53 |
|
|
|
54 |
|
55 |
with st.container():
|
56 |
if keywordList is not None:
|
|
|
51 |
meaning/context",
|
52 |
['Exact Matches', 'Similar context/meaning'])
|
53 |
|
54 |
+
st.markdown("---")
|
55 |
|
56 |
with st.container():
|
57 |
if keywordList is not None:
|
appStore/sdg_analysis.py
CHANGED
@@ -23,7 +23,7 @@ logger = logging.getLogger(__name__)
|
|
23 |
def app():
|
24 |
|
25 |
with st.container():
|
26 |
-
st.markdown("<
|
27 |
st.write(' ')
|
28 |
st.write(' ')
|
29 |
|
@@ -31,10 +31,11 @@ def app():
|
|
31 |
|
32 |
st.write(
|
33 |
"""
|
34 |
-
The *
|
35 |
in Streamlit for analyzing policy documents with respect to SDG \
|
36 |
-
Classification for the paragraphs/texts in the document
|
37 |
-
|
|
|
38 |
""")
|
39 |
st.markdown("")
|
40 |
|
|
|
23 |
def app():
|
24 |
|
25 |
with st.container():
|
26 |
+
st.markdown("<h2 style='text-align: center; color: black;'> SDG Analysis on Polcy Document</h2>", unsafe_allow_html=True)
|
27 |
st.write(' ')
|
28 |
st.write(' ')
|
29 |
|
|
|
31 |
|
32 |
st.write(
|
33 |
"""
|
34 |
+
The *SDG Analysis on Polcy Document* app is an easy-to-use interface built \
|
35 |
in Streamlit for analyzing policy documents with respect to SDG \
|
36 |
+
Classification for the paragraphs/texts in the document and \
|
37 |
+
extracting the keyphrase per SDG label - developed by GIZ Data \
|
38 |
+
and the Sustainable Development Solution Network. \n
|
39 |
""")
|
40 |
st.markdown("")
|
41 |
|