Skip to content

Commit

Permalink
chore(translate): replace deprecated target langauge
Browse files Browse the repository at this point in the history
  • Loading branch information
PleahMaCaka committed Nov 2, 2023
1 parent da8e3ae commit 36043a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 36043a6

Please sign in to comment.