Spaces:
Build error
Build error
Update app.py
Browse files627 unmodified lines628629630631631632633634627 unmodified lines iterations += 1
if iterations == max_iterations: return "The agent could not generate a valid response within the iteration limit." return user_question , "Sorry, I couldn't complete your request" #"The agent could not generate a valid response within the iteration limit."
if os.getenv("IMAGE_PATH") in response_text: # Open the image fileapp.py+1-1