thanhhungtakeshi's picture
add grammar correction endpoint
69d1fbe
raw
history blame contribute delete
194 Bytes
from pydantic import BaseModel
from typing import List
class AlignmentRequest(BaseModel):
phonemes: List[str]
words: List[str]
class CorrectionRequest(BaseModel):
transcript: str