File size: 217 Bytes
537d300 | 1 2 3 4 5 6 7 8 9 10 11 12 | from pydantic import BaseModel
class PredictionResponse(BaseModel):
label: str
score: float
label_id: int
inference_time_ms: float
class ErrorResponse(BaseModel):
detail: str
error_code: str
|