EmotionSense / schemas.py
faizan20's picture
Upload 8 files
c46e765 verified
raw
history blame contribute delete
202 Bytes
from pydantic import BaseModel
class TextRequest(BaseModel):
text: str
class PredictionResponse(BaseModel):
input_text: str
cleaned_text: str
sentiment: str
emotion: str