Spaces:
Running
Running
| from pydantic import BaseModel, Field | |
| class TranscribeResponse(BaseModel): | |
| transcript: str = Field(..., min_length=1, max_length=5000) | |
| class SynthesizeRequest(BaseModel): | |
| text: str = Field(..., min_length=1, max_length=300) | |
| voice: str = Field(default="am_adam", min_length=2, max_length=32) | |