Sandiago21 commited on
Commit
30237ec
·
verified ·
1 Parent(s): 12b2c57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -971,7 +971,7 @@ def answer_question(user_question):
971
  """
972
  Send the user input to your LangGraph agent and return the response.
973
  """
974
- result = app.invoke({"messages": user_question})
975
  agent_answer = result["output"]
976
  return agent_answer
977
 
 
971
  """
972
  Send the user input to your LangGraph agent and return the response.
973
  """
974
+ result = safe_app.invoke({"messages": user_question})
975
  agent_answer = result["output"]
976
  return agent_answer
977