Nelly-43 commited on
Commit
0acc9c6
·
verified ·
1 Parent(s): a3c5d27

Update app_web.py

Browse files
Files changed (1) hide show
  1. app_web.py +1 -1
app_web.py CHANGED
@@ -254,7 +254,7 @@ def render_chat():
254
  working to expand the framework and you can submit a form to request. In the meantime please let me know if you would like to run the anlysis for one of the included countries."
255
 
256
  if qinit_result.get("value_chain", None)[0] not in APPROVED_OPTIONS.get('value_chains'):
257
- resolution_msg = f"It seems you are trying to run a PERI analysis for {qinit_result.get('value_chain', None)[0]} in {qinit_result.get('country', None)[0]}! Currently the PERI framework only supports analysis for the value chains listed below:\n\n -{list_to_string(APPROVED_OPTIONS.get('value_chains'), 'Supported Value Chains', 2)}\n\n We are continuously \
258
  working to expand the framework and you can submit a form to request. In the meantime please let me know if you would like to run the anlysis for one of the included countries."
259
 
260
  if qinit_result.get("investment", None)[0] not in APPROVED_OPTIONS.get('investments'):
 
254
  working to expand the framework and you can submit a form to request. In the meantime please let me know if you would like to run the anlysis for one of the included countries."
255
 
256
  if qinit_result.get("value_chain", None)[0] not in APPROVED_OPTIONS.get('value_chains'):
257
+ resolution_msg = f"It seems you are trying to run a PERI analysis for {qinit_result.get('value_chain', None)[0]} in {qinit_result.get('country', None)[0]}! Currently the PERI framework only supports analysis for the value chains listed below:\n\n -{dict_to_string(APPROVED_OPTIONS.get('value_chains'), 2)}\n\n We are continuously \
258
  working to expand the framework and you can submit a form to request. In the meantime please let me know if you would like to run the anlysis for one of the included countries."
259
 
260
  if qinit_result.get("investment", None)[0] not in APPROVED_OPTIONS.get('investments'):