Spaces:
Build error
Build error
Update app.py
Browse files515 unmodified lines516517518519520521522515 unmodified linesif "invalid" not in response_text.lower():breakiterations += 1print(response)print(response_text)if iterations == max_iterations:return "The agent could not generate a valid response within the iteration limit."515 unmodified lines516517518519520521522515 unmodified linesif "invalid" not in response_text.lower():breakiterations += 1print(os.getenv("IMAGE_PATH"))print(response_text)if iterations == max_iterations:return "The agent could not generate a valid response within the iteration limit."
app.py+1-1