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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -715,6 +715,8 @@ def answer_question_thread(user_question, chatbot,audio=None):
715
  iterations += 1
716
 
717
  if iterations == max_iterations:
 
 
718
  return user_question , "Sorry, I couldn't complete your request" #"The agent could not generate a valid response within the iteration limit."
719
 
720
  if os.getenv("IMAGE_PATH") in response_text:
 
715
  iterations += 1
716
 
717
  if iterations == max_iterations:
718
+ print("final response::")
719
+ print(response)
720
  return user_question , "Sorry, I couldn't complete your request" #"The agent could not generate a valid response within the iteration limit."
721
 
722
  if os.getenv("IMAGE_PATH") in response_text: