Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -249,6 +249,11 @@ def analyze(pil_image, overlay_strength):
|
|
| 249 |
|
| 250 |
if read['issue_lines']:
|
| 251 |
summary += "\n**Readability details:**\n" + "\n".join(read['issue_lines']) + "\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 252 |
|
| 253 |
summary += "\n**How to Improve:**\n"
|
| 254 |
for tip in tips:
|
|
|
|
| 249 |
|
| 250 |
if read['issue_lines']:
|
| 251 |
summary += "\n**Readability details:**\n" + "\n".join(read['issue_lines']) + "\n"
|
| 252 |
+
summary += (
|
| 253 |
+
"\n*Note: contrast is estimated automatically and can misread text sitting on "
|
| 254 |
+
"busy or gradient backgrounds. If a flagged item looks clearly readable to your "
|
| 255 |
+
"eye, treat it as a false positive.*\n"
|
| 256 |
+
)
|
| 257 |
|
| 258 |
summary += "\n**How to Improve:**\n"
|
| 259 |
for tip in tips:
|