Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ st.set_page_config(page_title = 'Climate Policy Intelligence',
|
|
7 |
|
8 |
|
9 |
import appStore.target as tapp_extraction
|
|
|
10 |
import appStore.doc_processing as processing
|
11 |
from utils.uploadAndExample import add_upload
|
12 |
from PIL import Image
|
@@ -94,7 +95,7 @@ with st.expander("ℹ️ - About this app", expanded=False):
|
|
94 |
""")
|
95 |
|
96 |
st.write("")
|
97 |
-
apps = [processing.app, tapp_extraction.app]
|
98 |
#conditional.app, sector.app]
|
99 |
#adapmit.app]
|
100 |
|
@@ -115,10 +116,11 @@ if 'key1' in st.session_state:
|
|
115 |
('Target', 'Action', 'Policies/Plans'))
|
116 |
|
117 |
if topic == 'Target':
|
118 |
-
|
119 |
-
|
|
|
120 |
elif topic == 'Action':
|
121 |
-
policyaction.action_display()
|
122 |
else:
|
123 |
-
policyaction.policy_display()
|
124 |
# st.write(st.session_state.key1)
|
|
|
7 |
|
8 |
|
9 |
import appStore.target as tapp_extraction
|
10 |
+
import appStore.sector as sector
|
11 |
import appStore.doc_processing as processing
|
12 |
from utils.uploadAndExample import add_upload
|
13 |
from PIL import Image
|
|
|
95 |
""")
|
96 |
|
97 |
st.write("")
|
98 |
+
apps = [processing.app, tapp_extraction.app, sector.app]
|
99 |
#conditional.app, sector.app]
|
100 |
#adapmit.app]
|
101 |
|
|
|
116 |
('Target', 'Action', 'Policies/Plans'))
|
117 |
|
118 |
if topic == 'Target':
|
119 |
+
st.dataframe(st.session_state['key1'])
|
120 |
+
|
121 |
+
#target_extraction.target_display()
|
122 |
elif topic == 'Action':
|
123 |
+
#policyaction.action_display()
|
124 |
else:
|
125 |
+
#policyaction.policy_display()
|
126 |
# st.write(st.session_state.key1)
|