from pydantic import BaseModel class TextRequest(BaseModel): text: str class PredictionResponse(BaseModel): input_text: str cleaned_text: str sentiment: str emotion: str