Spaces:
Sleeping
Sleeping
Download backend/models.py from Krishnakkp/S2S: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/Krishnakkp/S2S/resolve/main/backend/models.py
- Command line
-
hf download hf://spaces/Krishnakkp/S2S/backend/models.py
-
curl -L -o models.py https://huggingface.co/spaces/Krishnakkp/S2S/resolve/main/backend/models.py
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" | |