From 02498383dd22ece0ab4d8f1d9345504a4534891c Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 10 May 2024 12:35:18 +0000 Subject: [PATCH] style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf This commit fixes the style issues introduced in 896f93f according to the output from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf. Details: None --- customer_service/chatbot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/customer_service/chatbot.py b/customer_service/chatbot.py index 8ff98a9a1..786d199bd 100644 --- a/customer_service/chatbot.py +++ b/customer_service/chatbot.py @@ -1,5 +1,6 @@ import time + class Chatbot: def __init__(self, nlp_model, knowledge_base): self.nlp_model = nlp_model @@ -9,6 +10,6 @@ def chat(self, user_input): entities = self.nlp_model.extract_entities(user_input) intent = self.nlp_model.extract_intent(user_input) response = self.knowledge_base.get_response(intent) - print('User:', user_input) - print('Chatbot:', response) + print("User:", user_input) + print("Chatbot:", response) time.sleep(1)