Spaces:
Sleeping
Sleeping
Download model.py from uzagi/speak-smart: direct link, hf CLI and curl.
- Browser
- Download file 224 Bytes
-
https://huggingface.co/spaces/uzagi/speak-smart/resolve/main/model.py
- Command line
-
hf download hf://spaces/uzagi/speak-smart/model.py
-
curl -L -o model.py https://huggingface.co/spaces/uzagi/speak-smart/resolve/main/model.py
224 Bytes
| from pydantic import BaseModel | |
| class ResponseData(BaseModel): | |
| text: str | |
| class PhonemeRequest(BaseModel): | |
| transcript: str | |
| audio: str | |
| class PhonemeResponse(BaseModel): | |
| code: int | |
| message: str | |
| data: {} |