From 36043a6100e5368e6dd9eae9c20444b2bcdcd024 Mon Sep 17 00:00:00 2001 From: PleahMaCaka Date: Thu, 2 Nov 2023 14:35:35 +0900 Subject: [PATCH] chore(translate): replace deprecated target langauge --- routers/translate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/translate.py b/routers/translate.py index e464f64..0285190 100644 --- a/routers/translate.py +++ b/routers/translate.py @@ -21,4 +21,4 @@ async def translate(data: TranslatedModel): @router.post("/toEn") async def translate(data: TranslatedModel): - return translator.translate_text(data.text, source_lang="KO", target_lang="EN") + return translator.translate_text(data.text, source_lang="KO", target_lang="EN-US")