Redmind commited on
Commit
23d9010
·
verified ·
1 Parent(s): e1ef4d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -795,7 +795,8 @@ def answer_question(user_question, chatbot, audio=None):
795
  user_question = "Sorry, I could not understand the audio."
796
  except sr.RequestError:
797
  user_question = "Could not request results from Google Speech Recognition service."
798
-
 
799
  while iterations < max_iterations:
800
 
801
  response = agent_executor.invoke({"input": user_question}, config={"callbacks": [langfuse_handler]})
 
795
  user_question = "Sorry, I could not understand the audio."
796
  except sr.RequestError:
797
  user_question = "Could not request results from Google Speech Recognition service."
798
+ print("iterations::")
799
+ print(iterations)
800
  while iterations < max_iterations:
801
 
802
  response = agent_executor.invoke({"input": user_question}, config={"callbacks": [langfuse_handler]})