Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,9 +13,7 @@ def generate_response(user_input):
|
|
| 13 |
# Generate a response that includes your name
|
| 14 |
chat_response = "I was created by Ram.V"
|
| 15 |
return chat_response
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
# Check if user input contains the phrase "what is your purpose"
|
| 19 |
elif "what is your purpose" in user_input.lower():
|
| 20 |
# Generate a response explaining the chatbot's purpose
|
| 21 |
chat_response = "My purpose is to help you with your queries."
|
|
|
|
| 13 |
# Generate a response that includes your name
|
| 14 |
chat_response = "I was created by Ram.V"
|
| 15 |
return chat_response
|
| 16 |
+
# Check if user input contains the phrase "what is your purpose"
|
|
|
|
|
|
|
| 17 |
elif "what is your purpose" in user_input.lower():
|
| 18 |
# Generate a response explaining the chatbot's purpose
|
| 19 |
chat_response = "My purpose is to help you with your queries."
|