Redmind commited on
Commit
2dcee2b
·
verified ·
1 Parent(s): 0894bc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -516,7 +516,8 @@ def answer_question(user_question, chatbot, audio=None):
516
  if "invalid" not in response_text.lower():
517
  break
518
  iterations += 1
519
-
 
520
  if iterations == max_iterations:
521
  return "The agent could not generate a valid response within the iteration limit."
522
 
 
516
  if "invalid" not in response_text.lower():
517
  break
518
  iterations += 1
519
+ print(response)
520
+ print(response_text)
521
  if iterations == max_iterations:
522
  return "The agent could not generate a valid response within the iteration limit."
523