Upload damage_type_classifier.py with huggingface_hub
Browse files
damage_type_classifier.py
CHANGED
|
@@ -27,7 +27,7 @@ from google import genai
|
|
| 27 |
from google.genai import types
|
| 28 |
|
| 29 |
|
| 30 |
-
VLM_MODEL = "gemini-
|
| 31 |
SELF_CONSISTENCY_CALLS = 3 # how many times to classify the same crop
|
| 32 |
AGREEMENT_THRESHOLD = 0.6 # fraction of calls that must agree on damage_type
|
| 33 |
# to trust it without flagging for human review
|
|
|
|
| 27 |
from google.genai import types
|
| 28 |
|
| 29 |
|
| 30 |
+
VLM_MODEL = "gemini-3.5-flash"
|
| 31 |
SELF_CONSISTENCY_CALLS = 3 # how many times to classify the same crop
|
| 32 |
AGREEMENT_THRESHOLD = 0.6 # fraction of calls that must agree on damage_type
|
| 33 |
# to trust it without flagging for human review
|