From 51b5e4ea27f2e743fe3a4f44b230ba62026dbb91 Mon Sep 17 00:00:00 2001 From: CharlesCNorton <135471798+CharlesCNorton@users.noreply.github.com> Date: Sun, 2 Jun 2024 12:44:41 -0400 Subject: [PATCH] fix: Remove redundant LOG_FORMAT definition Removed the second instance of the LOG_FORMAT definition in the chatbot script. The specific change was the removal of the line LOG_FORMAT = "%(asctime)s - %(levelname)s - %(message)s" which appeared twice consecutively. This correction helps maintain code clarity and conciseness. --- examples/chatbot_with_streaming.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/chatbot_with_streaming.py b/examples/chatbot_with_streaming.py index 4304551..eec8309 100755 --- a/examples/chatbot_with_streaming.py +++ b/examples/chatbot_with_streaming.py @@ -32,8 +32,6 @@ "/exit": {}, } -LOG_FORMAT = "%(asctime)s - %(levelname)s - %(message)s" - logger = logging.getLogger("chatbot")