Files
post-moderation/ai-moderation/app/ml/image/weapon_prediction_result.py
SlimusMinus a17829014b
All checks were successful
deploy-ai / deploy (push) Successful in 2m56s
Add Docker build and deploy pipeline
2026-10-07 23:53:52 +03:00

14 lines
216 B
Python

from dataclasses import dataclass, field
@dataclass(slots=True)
class WeaponPredictionResult:
label: str
score: float
detected_labels: list[str] = field(
default_factory=list
)
box_count: int = 0