Skip to content

Commit

Permalink
style: format code with autopep8
Browse files Browse the repository at this point in the history
Format code with autopep8

This commit fixes the style issues introduced in 25759f4 according to the output
from Autopep8.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Aug 9, 2023
1 parent ebe466b commit 7a49360
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AI-based Chatbot for Diverse Topics/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
nlp = spacy.load("en_core_web_sm")

# Function to get the response from the chatbot


def get_response(query):
# Process the user query
doc = nlp(query)
Expand Down Expand Up @@ -63,6 +65,7 @@ def get_response(query):
# If no specific response is generated, provide a default response
return "I'm sorry, but I'm not sure how to help with that."


# Main chat loop
print("Chatbot: Hello! How can I assist you today? Type 'exit' to end the conversation.")
while True:
Expand Down

0 comments on commit 7a49360

Please sign in to comment.