Guilherme34's picture
Upload folder using huggingface_hub
aa15bce verified
from __future__ import annotations
from typing import List
from pydantic import BaseModel
class HealthResponse(BaseModel):
ok: bool
service: str
version: str
class RootResponse(BaseModel):
status: str
service: str
version: str
endpoints: List[str]
class SetTimezoneRequest(BaseModel):
timezone: str
class SetTimezoneResponse(BaseModel):
ok: bool = True
timezone: str