Spaces:
Paused
Paused
Update classifier.py
Browse files- classifier.py +2 -19
classifier.py
CHANGED
@@ -43,25 +43,8 @@ Categories :
|
|
43 |
- Mixto3: (Comercial1 + Comercial2) Commercial premises and offices.
|
44 |
|
45 |
|
46 |
-
Return the information in the following JSON schema
|
47 |
-
|
48 |
-
{{
|
49 |
-
"classification": [
|
50 |
-
{{
|
51 |
-
"category": "Mixto1",
|
52 |
-
"confidence": 0.98
|
53 |
-
}},
|
54 |
-
{{
|
55 |
-
"category": "Comerciales1",
|
56 |
-
"confidence": 0.77
|
57 |
-
}},
|
58 |
-
{{
|
59 |
-
"category": "Comerciales2",
|
60 |
-
"confidence": 0.5
|
61 |
-
}}
|
62 |
-
],
|
63 |
-
"reasoning": "the reasoning should be a descriptive but grounded step-by-step paragraph of every thought process had during the decision process. It should incorporate elements from each of the tag categories to provide a broad dense caption"
|
64 |
-
}}
|
65 |
"""
|
66 |
|
67 |
|
|
|
43 |
- Mixto3: (Comercial1 + Comercial2) Commercial premises and offices.
|
44 |
|
45 |
|
46 |
+
Return the information in the following JSON schema:
|
47 |
+
{ImageData.model_json_schema()}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
"""
|
49 |
|
50 |
|