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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1029,9 +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
  def answer_from_audio(audio):
1037
  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)