PhonePixelGhost's picture
Upload 14 files
537d300 verified
raw
history blame contribute delete
217 Bytes
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