Spaces:
Sleeping
Sleeping
from pydantic import BaseModel, Field | |
class TranslationInput(BaseModel): | |
text_to_translate : str = Field(..., description="Text to be translated") | |
target_language : str = Field(..., description="Target language for translation") | |