From 8addcbc27cf500f80a8c54b79f4933b64faf8423 Mon Sep 17 00:00:00 2001 From: Tuchuanhuhuhu Date: Wed, 14 Jun 2023 19:59:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20logging=20=E6=97=B6=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D=EF=BC=8Cthanks=20@slideslide=20!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/models/base_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/models/base_model.py b/modules/models/base_model.py index 43a57c5e..72aa8451 100644 --- a/modules/models/base_model.py +++ b/modules/models/base_model.py @@ -375,7 +375,7 @@ def predict( status_text = "开始生成回答……" logging.info( - "输入为:" + colorama.Fore.BLUE + f"{inputs}" + colorama.Style.RESET_ALL + "用户" + f"{self.user_identifier}" + "的输入为:" + colorama.Fore.BLUE + f"{inputs}" + colorama.Style.RESET_ALL ) if should_check_token_count: yield chatbot + [(inputs, "")], status_text