File size: 247 Bytes
b368e21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
Created By: ishwor subedi
Date: 2024-07-31
"""
from fastapi import UploadFile
from pydantic import BaseModel


class TextToSpeechRequest(BaseModel):
    text: str
    lang: str
    tld: str


class SpeechToTextRequest(BaseModel):
    lang: str