Sandiago21 commited on
Commit
392a627
·
verified ·
1 Parent(s): 1d3c4cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1029,11 +1029,11 @@ def answer_question(user_question):
1029
  """
1030
  Send the user input to your LangGraph agent and return the response.
1031
  """
1032
- # result = safe_app.invoke({"messages": user_question})
1033
- # agent_answer = result["output"]
1034
- # return agent_answer
1035
 
1036
- return user_question
1037
 
1038
  def answer_from_audio(audio):
1039
  text = transcribe_speech(audio)
 
1029
  """
1030
  Send the user input to your LangGraph agent and return the response.
1031
  """
1032
+ result = safe_app.invoke({"messages": user_question})
1033
+ agent_answer = result["output"]
1034
+ return agent_answer
1035
 
1036
+ # return user_question
1037
 
1038
  def answer_from_audio(audio):
1039
  text = transcribe_speech(audio)