Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -633,7 +633,9 @@ def analyze_image_with_glm(image: Optional[Image.Image]) -> str:
|
|
| 633 |
},
|
| 634 |
{
|
| 635 |
"type": "text",
|
| 636 |
-
"text": """Describe this image in EXTREME DETAIL.
|
|
|
|
|
|
|
| 637 |
|
| 638 |
START directly with the main subject. NO preambles like "This image shows" or "I can see".
|
| 639 |
|
|
@@ -651,7 +653,7 @@ DESCRIBE EVERYTHING VISIBLE IN EXHAUSTIVE DETAIL:
|
|
| 651 |
- ATMOSPHERE: Mood, emotion, weather, season, energy
|
| 652 |
- SMALL DETAILS: Patterns, embroidery, buttons, jewelry, stitching, imperfections
|
| 653 |
|
| 654 |
-
|
| 655 |
}
|
| 656 |
]
|
| 657 |
}
|
|
|
|
| 633 |
},
|
| 634 |
{
|
| 635 |
"type": "text",
|
| 636 |
+
"text": """Describe this image in EXTREME DETAIL.
|
| 637 |
+
|
| 638 |
+
GLOBAL RULE: Your output text CANNOT exceed 4000 TOKENS. This is a strict limit.
|
| 639 |
|
| 640 |
START directly with the main subject. NO preambles like "This image shows" or "I can see".
|
| 641 |
|
|
|
|
| 653 |
- ATMOSPHERE: Mood, emotion, weather, season, energy
|
| 654 |
- SMALL DETAILS: Patterns, embroidery, buttons, jewelry, stitching, imperfections
|
| 655 |
|
| 656 |
+
Describe EVERY person, object, and detail visible. Do NOT summarize - describe each element individually. Use all available space up to 4000 tokens maximum."""
|
| 657 |
}
|
| 658 |
]
|
| 659 |
}
|