Nelly-43 commited on
Commit
d23a28f
·
verified ·
1 Parent(s): c04f3bb

Update app_web.py

Browse files
Files changed (1) hide show
  1. app_web.py +4 -3
app_web.py CHANGED
@@ -153,7 +153,8 @@ def render_landing_page():
153
  print(c2vc)
154
  st.session_state.beneficiaries_var = pol_geo_scores
155
  st.session_state.investments_var = investments
156
- st.session_state.c2vc = analyze_vc_committment(c2vc)
 
157
  st.session_state.country = country
158
  st.session_state.bot_launched = True
159
  st.rerun()
@@ -639,7 +640,7 @@ def render_db():
639
  row2 = st.container()
640
  with row0:
641
  st.markdown(f"#### Pillar 1: Alignemnt with Political Incentives")
642
- st.dataframe(st.session_state.c2vc,
643
  # column_order=("states", "population"),
644
  hide_index=True,
645
  width='stretch',
@@ -691,7 +692,7 @@ def render_db():
691
  )
692
  with row1[2]:
693
  st.markdown(f'#### Committment to Value Chain Analysis')
694
- st.dataframe(st.session_state.c2vc,
695
  # column_order=("states", "population"),
696
  hide_index=True,
697
  width='stretch',
 
153
  print(c2vc)
154
  st.session_state.beneficiaries_var = pol_geo_scores
155
  st.session_state.investments_var = investments
156
+ st.session_state.c2vc = c2vc
157
+ st.session_state.c2vc_results = analyze_vc_committment(c2vc)
158
  st.session_state.country = country
159
  st.session_state.bot_launched = True
160
  st.rerun()
 
640
  row2 = st.container()
641
  with row0:
642
  st.markdown(f"#### Pillar 1: Alignemnt with Political Incentives")
643
+ st.dataframe(st.session_state.c2vc_results,
644
  # column_order=("states", "population"),
645
  hide_index=True,
646
  width='stretch',
 
692
  )
693
  with row1[2]:
694
  st.markdown(f'#### Committment to Value Chain Analysis')
695
+ st.dataframe(st.session_state.c2vc_results,
696
  # column_order=("states", "population"),
697
  hide_index=True,
698
  width='stretch',