mirror of
https://github.com/neonbjb/tortoise-tts.git
synced 2026-03-21 12:44:39 +01:00
9 lines
208 B
Python
9 lines
208 B
Python
from typing import Optional
|
|
from pydantic import BaseModel
|
|
|
|
class TranscriptionRequest(BaseModel):
|
|
text: str
|
|
voice: str
|
|
output_path: Optional[str] = "data/samples/"
|
|
preset: str = "ultra_fast"
|