Initial Commit

This commit is contained in:
bladeclara42
2025-05-13 22:43:56 +07:00
commit 5469707c2d
16 changed files with 81 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,8 @@
from pydantic import BaseModel
class TranslationRequest(BaseModel):
text: str
target_language: str # Example: 'id' for Indonesian, 'en' for English, etc.
class TranslationResponse(BaseModel):
translated_text: str