From 500eae510d733866451c095092a03b074e65472a Mon Sep 17 00:00:00 2001 From: yolain Date: Mon, 12 Aug 2024 15:12:45 +0800 Subject: [PATCH] Removed print zh_em_model_path --- py/libs/translate.py | 1 - 1 file changed, 1 deletion(-) diff --git a/py/libs/translate.py b/py/libs/translate.py index efd77a9..ac63dc1 100644 --- a/py/libs/translate.py +++ b/py/libs/translate.py @@ -95,7 +95,6 @@ def translate(text): if not os.path.exists(zh_en_model_path): zh_en_model_path = 'Helsinki-NLP/opus-mt-zh-en' - print(zh_en_model_path) if zh_en_model is None: zh_en_model = AutoModelForSeq2SeqLM.from_pretrained(zh_en_model_path).eval()