Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -754,7 +754,12 @@ def answer_question_thread(user_question, chatbot,audio=None):
|
|
754 |
return user_question, response_text
|
755 |
else:
|
756 |
if ("max iterations" in response_text):
|
|
|
757 |
print(agent_executor.agent.return_values)
|
|
|
|
|
|
|
|
|
758 |
print(agent_executor.agent.return_stopped_response)
|
759 |
return user_question, response_text
|
760 |
# response_text = response_text.replace('\n', ' ').replace(' ', ' ').strip()
|
|
|
754 |
return user_question, response_text
|
755 |
else:
|
756 |
if ("max iterations" in response_text):
|
757 |
+
print("11111::")
|
758 |
print(agent_executor.agent.return_values)
|
759 |
+
print("1122::")
|
760 |
+
for response_values in agent_executor.agent.return_values:
|
761 |
+
print(response_values)
|
762 |
+
print("222:::")
|
763 |
print(agent_executor.agent.return_stopped_response)
|
764 |
return user_question, response_text
|
765 |
# response_text = response_text.replace('\n', ' ').replace(' ', ' ').strip()
|