Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,12 +40,12 @@ def check_image_safety(image_paths):
|
|
| 40 |
"text": """Analyze this image carefully for any unsafe or inappropriate content.
|
| 41 |
|
| 42 |
Rules (follow strictly):
|
| 43 |
-
1. If the image contains nudity, partial nudity, sexually suggestive poses, vulgar or obscene gestures (e.g. middle finger),
|
| 44 |
or promotes sexual activity β respond 'unsafe'.
|
| 45 |
2. If the image indirectly promotes or implies sexual, vulgar, or adult content
|
| 46 |
(e.g. suggestive memes, sexual humor, revealing imagery, or implicit sexual symbolism) β respond 'unsafe'.
|
| 47 |
3. If the image shows violence, hate symbols, drug use, or disturbing content β respond 'unsafe'.
|
| 48 |
-
4. Only if the image is normal, decent, and appropriate (e.g. product, nature, person, normal pose) β respond 'safe'.
|
| 49 |
|
| 50 |
Return only one word: 'safe' or 'unsafe'. Nothing else."""
|
| 51 |
},
|
|
|
|
| 40 |
"text": """Analyze this image carefully for any unsafe or inappropriate content.
|
| 41 |
|
| 42 |
Rules (follow strictly):
|
| 43 |
+
1. If the image contains nudity, partial nudity, sexually suggestive poses, shirtless images, vulgar or obscene gestures (e.g. middle finger),
|
| 44 |
or promotes sexual activity β respond 'unsafe'.
|
| 45 |
2. If the image indirectly promotes or implies sexual, vulgar, or adult content
|
| 46 |
(e.g. suggestive memes, sexual humor, revealing imagery, or implicit sexual symbolism) β respond 'unsafe'.
|
| 47 |
3. If the image shows violence, hate symbols, drug use, or disturbing content β respond 'unsafe'.
|
| 48 |
+
4. Only if the image is normal, decent, and appropriate (e.g. product, nature, person(e.g., selfies), normal pose) β respond 'safe'.
|
| 49 |
|
| 50 |
Return only one word: 'safe' or 'unsafe'. Nothing else."""
|
| 51 |
},
|