Spaces:
Build error
Build error
Update app.py
Browse files627 unmodified lines628629630631632633634627 unmodified linesiterations += 1if iterations == max_iterations:return "The agent could not generate a valid response within the iteration limit."if os.getenv("IMAGE_PATH") in response_text:# Open the image file627 unmodified lines628629630631632633634627 unmodified linesiterations += 1if iterations == max_iterations: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 file
app.py+1-1