Spaces:
Runtime error
Runtime error
domdomingo
commited on
Commit
•
a913343
1
Parent(s):
c529499
Update appStore/sdg_analysis.py
Browse files- appStore/sdg_analysis.py +5 -5
appStore/sdg_analysis.py
CHANGED
@@ -34,7 +34,7 @@ def app():
|
|
34 |
|
35 |
#### APP INFO #####
|
36 |
with st.container():
|
37 |
-
st.markdown("<h1 style='text-align: center; color: black;'>
|
38 |
st.write(' ')
|
39 |
st.write(' ')
|
40 |
|
@@ -106,7 +106,7 @@ def app():
|
|
106 |
|
107 |
### Main app code ###
|
108 |
with st.container():
|
109 |
-
if st.button("
|
110 |
|
111 |
if 'filepath' in st.session_state:
|
112 |
file_name = st.session_state['filename']
|
@@ -151,7 +151,7 @@ def app():
|
|
151 |
# fig.savefig('temp.png', bbox_inches='tight',dpi= 100)
|
152 |
|
153 |
|
154 |
-
st.markdown("####
|
155 |
|
156 |
c4, c5, c6 = st.columns([1,2,2])
|
157 |
|
@@ -162,13 +162,13 @@ def app():
|
|
162 |
labeldf = "<br>".join(labeldf)
|
163 |
st.markdown(labeldf, unsafe_allow_html=True)
|
164 |
st.write("")
|
165 |
-
st.markdown("######
|
166 |
|
167 |
AgGrid(textrank_keywords_df, reload_data = False,
|
168 |
update_mode="value_changed",
|
169 |
columns_auto_size_mode = ColumnsAutoSizeMode.FIT_CONTENTS)
|
170 |
st.write("")
|
171 |
-
st.markdown("######
|
172 |
|
173 |
AgGrid(df, reload_data = False, update_mode="value_changed",
|
174 |
columns_auto_size_mode = ColumnsAutoSizeMode.FIT_CONTENTS)
|
|
|
34 |
|
35 |
#### APP INFO #####
|
36 |
with st.container():
|
37 |
+
st.markdown("<h1 style='text-align: center; color: black;'> Litter Monitoring Cockpit </h1>", unsafe_allow_html=True)
|
38 |
st.write(' ')
|
39 |
st.write(' ')
|
40 |
|
|
|
106 |
|
107 |
### Main app code ###
|
108 |
with st.container():
|
109 |
+
if st.button("Load Litter Monitoring Cockpit"):
|
110 |
|
111 |
if 'filepath' in st.session_state:
|
112 |
file_name = st.session_state['filename']
|
|
|
151 |
# fig.savefig('temp.png', bbox_inches='tight',dpi= 100)
|
152 |
|
153 |
|
154 |
+
st.markdown("#### What are the litter types captured in the region? ####")
|
155 |
|
156 |
c4, c5, c6 = st.columns([1,2,2])
|
157 |
|
|
|
162 |
labeldf = "<br>".join(labeldf)
|
163 |
st.markdown(labeldf, unsafe_allow_html=True)
|
164 |
st.write("")
|
165 |
+
st.markdown("###### How does the Waste Flow Diagram look for this region? ######")
|
166 |
|
167 |
AgGrid(textrank_keywords_df, reload_data = False,
|
168 |
update_mode="value_changed",
|
169 |
columns_auto_size_mode = ColumnsAutoSizeMode.FIT_CONTENTS)
|
170 |
st.write("")
|
171 |
+
st.markdown("###### What is the underlying raw data for the analysis? ######")
|
172 |
|
173 |
AgGrid(df, reload_data = False, update_mode="value_changed",
|
174 |
columns_auto_size_mode = ColumnsAutoSizeMode.FIT_CONTENTS)
|