Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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]})
|