Skip to content

Commit

Permalink
style: format code with Autopep8, Black, ClangFormat, dotnet-format, …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
deepsource-autofix[bot] authored May 10, 2024
1 parent 896f93f commit 0249838
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions customer_service/chatbot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import time


class Chatbot:
def __init__(self, nlp_model, knowledge_base):
self.nlp_model = nlp_model
Expand All @@ -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)

0 comments on commit 0249838

Please sign in to comment.