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