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 |
-
# Construct the prompt with the user input
|
| 18 |
-
prompt = f"You said: {user_input}"
|
| 19 |
|
| 20 |
# Check if user input contains the phrase "what is your purpose"
|
| 21 |
elif "what is your purpose" in user_input.lower():
|
|
|
|
| 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():
|