Spaces:
Sleeping
Sleeping
File size: 438 Bytes
72ce0ab a9fac6d 72ce0ab | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | from pydantic import BaseModel
class Predict2dInput(BaseModel):
uuid: str
model: str
points: dict[str, list[float]]
d: float
inlet_u: float
inlet_angle: float
class Response2d(BaseModel):
points: dict[str, list[float]]
target: dict[str, list[float]]
predicted: dict[str, list[float]]
error: dict[str, list[float]]
residuals: dict[str, list[float]]
porous_ids: list[float] | None = None
|