S2S / backend /models.py
Krishnakkp's picture
feat: initial deployment to HF spaces
ecef9b0
raw
history blame contribute delete
244 Bytes
from pydantic import BaseModel
class UserCreate(BaseModel):
username: str
password: str
class Token(BaseModel):
access_token: str
token_type: str
class TTSRequest(BaseModel):
text: str
voice: str = "en-US-AriaNeural"