Spaces:
Sleeping
Sleeping
Update app_web.py
Browse files227 unmodified lines228229230231232233234227 unmodified linesif qinit_result.get("value_chain", None) is None and qinit_result.get("investment", None) is None:with st.chat_message("assistant"):st.markdown(f"Please specify the value chain or investment area in {qinit_result.get("country", None)} for which you'd like to run a PERI analysis")returnqcat_result = categorize_query(combined_cat, cfg, history)except Exception:227 unmodified lines228229230231232233234227 unmodified linesif qinit_result.get("value_chain", None) is None and qinit_result.get("investment", None) is None:with st.chat_message("assistant"):st.markdown(f"Please specify the value chain or investment area in {qinit_result.get('country', None)} for which you'd like to run a PERI analysis")returnqcat_result = categorize_query(combined_cat, cfg, history)except Exception:
app_web.py+1-1