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