Nelly-43 commited on
Commit
3650af5
·
verified ·
1 Parent(s): e469e35

Update app_web.py

Browse files
Files changed (1) hide show
  1. app_web.py +3 -1
app_web.py CHANGED
@@ -221,7 +221,9 @@ def render_chat():
221
  qcat_result = categorize_query(combined_cat, cfg, history)
222
  except Exception:
223
  qcat_result = {"category": "general", "action": "continue"}
224
-
 
 
225
  if qcat_result.get("category") == "contact_and_info" and qcat_result.get("action") == "contact":
226
  with st.chat_message("assistant"):
227
  st.markdown("For additional assistance, please contact the WEAI Helpdesk at IFPRI-WEAI@cgiar.org.\
 
221
  qcat_result = categorize_query(combined_cat, cfg, history)
222
  except Exception:
223
  qcat_result = {"category": "general", "action": "continue"}
224
+
225
+ print("unresolved: ", unresolved)
226
+ print("result: ", qcat_result)
227
  if qcat_result.get("category") == "contact_and_info" and qcat_result.get("action") == "contact":
228
  with st.chat_message("assistant"):
229
  st.markdown("For additional assistance, please contact the WEAI Helpdesk at IFPRI-WEAI@cgiar.org.\