ConversAI / src /models /models.py
ishworrsubedii's picture
Integrated speech transcription
b368e21
raw
history blame
No virus
247 Bytes
"""
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