Nelly-43 commited on
Commit
1479084
·
verified ·
1 Parent(s): c6f476a

Update app_web.py

Browse files
Files changed (1) hide show
  1. app_web.py +3 -3
app_web.py CHANGED
@@ -127,7 +127,7 @@ def render_landing_page():
127
  investments = analyze_investments()
128
 
129
  c2vc = {}
130
- for vc in pol_geo_ref["value_chain"].unique()[:3]:
131
  status.update(label=f'Analyzing committment to {vc} production...')
132
  prompt = f"Look up and retrieve all relevant information on {vc} production in {country} from the knowledgebase."
133
  qu_result = understand_query(prompt, cfg)
@@ -641,7 +641,7 @@ def render_db():
641
  row3 = st.container()
642
 
643
  with row0[0]:
644
- st.markdown(f"#### Pillar 1: Value Chain Alignemnt with Political Incentives")
645
  score_cols = ["value_chain", "trend", "strategic_importance_score",
646
  "institutional_committment_score", "trend_normalized",
647
  "strategic_importance_normalized", "institutional_commitment_normalized"]
@@ -671,7 +671,7 @@ def render_db():
671
  # )}
672
  )
673
  with row0[1]:
674
- st.markdown(f"#### Pillar 1: Investment Alignemnt with Political Incentives")
675
  investment_rename_cols = {
676
  "investments":"Investment",
677
  "time_to_impact":"Time to Impact",
 
127
  investments = analyze_investments()
128
 
129
  c2vc = {}
130
+ for vc in pol_geo_ref["value_chain"].unique():
131
  status.update(label=f'Analyzing committment to {vc} production...')
132
  prompt = f"Look up and retrieve all relevant information on {vc} production in {country} from the knowledgebase."
133
  qu_result = understand_query(prompt, cfg)
 
641
  row3 = st.container()
642
 
643
  with row0[0]:
644
+ st.markdown(f"#### Pillar 1: Value Chain Alignment with Political Incentives")
645
  score_cols = ["value_chain", "trend", "strategic_importance_score",
646
  "institutional_committment_score", "trend_normalized",
647
  "strategic_importance_normalized", "institutional_commitment_normalized"]
 
671
  # )}
672
  )
673
  with row0[1]:
674
+ st.markdown(f"#### Pillar 1: Investment Alignment with Political Incentives")
675
  investment_rename_cols = {
676
  "investments":"Investment",
677
  "time_to_impact":"Time to Impact",