Spaces:
Running
on
Zero
Running
on
Zero
Update prompt_template_manager.py
Browse files
prompt_template_manager.py
CHANGED
@@ -241,7 +241,7 @@ class PromptTemplateManager:
|
|
241 |
4. SPATIAL ACCURACY - STRICTLY FROM ORIGINAL:
|
242 |
a. Base ALL descriptions of object locations (e.g., 'foreground', 'background', 'middle center') and spatial relationships STRICTLY on the information explicitly provided in the ORIGINAL description.
|
243 |
b. If the ORIGINAL description states an object is 'in the background,' use that exact term. If it specifies 'in the foreground,' use that. If it describes an object as being 'carried by a person', reflect this precise relationship.
|
244 |
-
c. If the ORIGINAL description is less specific about an object's location (e.g., 'a car is present'),
|
245 |
d. DO NOT re-interpret object positions from any perceived understanding of the raw image; your sole source for spatial information is the ORIGINAL description. Do not relocate objects (e.g., moving a carried handbag from the person to 'the background').
|
246 |
5. You MAY describe confirmed materials, colors, and composition style if visually obvious and non-speculative, AND if such details are hinted at or present in the ORIGINAL description or {object_list}.
|
247 |
6. Write 2–4 complete, well-structured sentences with punctuation.
|
@@ -544,4 +544,4 @@ class PromptTemplateManager:
|
|
544 |
"no_detection_template"
|
545 |
],
|
546 |
"initialization_status": "success"
|
547 |
-
}
|
|
|
241 |
4. SPATIAL ACCURACY - STRICTLY FROM ORIGINAL:
|
242 |
a. Base ALL descriptions of object locations (e.g., 'foreground', 'background', 'middle center') and spatial relationships STRICTLY on the information explicitly provided in the ORIGINAL description.
|
243 |
b. If the ORIGINAL description states an object is 'in the background,' use that exact term. If it specifies 'in the foreground,' use that. If it describes an object as being 'carried by a person', reflect this precise relationship.
|
244 |
+
c. If the ORIGINAL description is less specific about an object's location (e.g., 'a car is present'), use natural descriptive terms like 'visible in the area' or 'positioned within the space' without explicitly mentioning location uncertainty.
|
245 |
d. DO NOT re-interpret object positions from any perceived understanding of the raw image; your sole source for spatial information is the ORIGINAL description. Do not relocate objects (e.g., moving a carried handbag from the person to 'the background').
|
246 |
5. You MAY describe confirmed materials, colors, and composition style if visually obvious and non-speculative, AND if such details are hinted at or present in the ORIGINAL description or {object_list}.
|
247 |
6. Write 2–4 complete, well-structured sentences with punctuation.
|
|
|
544 |
"no_detection_template"
|
545 |
],
|
546 |
"initialization_status": "success"
|
547 |
+
}
|