Spaces:
Running
on
Zero
Running
on
Zero
Update analyzer.py
Browse files- analyzer.py +9 -1
analyzer.py
CHANGED
@@ -18,7 +18,15 @@ class UltraSupremeAnalyzer:
|
|
18 |
"clip_fast": clip_fast,
|
19 |
"clip_classic": clip_classic,
|
20 |
"clip_best": clip_best,
|
21 |
-
"full_description": f"{clip_fast} {clip_classic} {clip_best}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
}
|
23 |
|
24 |
def build_ultra_supreme_prompt(self, ultra_analysis: Dict[str, Any], clip_results: List[str]) -> str:
|
|
|
18 |
"clip_fast": clip_fast,
|
19 |
"clip_classic": clip_classic,
|
20 |
"clip_best": clip_best,
|
21 |
+
"full_description": f"{clip_fast} {clip_classic} {clip_best}",
|
22 |
+
"demographic": {"age_category": None, "age_confidence": 0, "gender": None, "cultural_religious": []},
|
23 |
+
"facial_ultra": {"eyes": [], "eyebrows": [], "nose": [], "mouth": [], "facial_hair": [], "skin": [], "structure": []},
|
24 |
+
"emotional_state": {"primary_emotion": None, "emotion_confidence": 0, "micro_expressions": [], "overall_demeanor": []},
|
25 |
+
"clothing_accessories": {"headwear": [], "eyewear": [], "clothing": [], "accessories": []},
|
26 |
+
"environmental": {"setting_type": None, "specific_location": None, "lighting_analysis": [], "atmosphere": []},
|
27 |
+
"pose_composition": {"body_language": [], "head_position": [], "eye_contact": [], "posture": []},
|
28 |
+
"technical_analysis": {"shot_type": None, "angle": None, "lighting_setup": None, "suggested_equipment": {}},
|
29 |
+
"intelligence_metrics": {"total_features_detected": 0, "analysis_depth_score": 0, "cultural_awareness_score": 0, "technical_optimization_score": 0}
|
30 |
}
|
31 |
|
32 |
def build_ultra_supreme_prompt(self, ultra_analysis: Dict[str, Any], clip_results: List[str]) -> str:
|