Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ def generate_chatbot_response(user_message):
|
|
| 71 |
|
| 72 |
# Custom response for "who created you" type of questions
|
| 73 |
if "kisne banaya" in user_message.lower() or "who created you" in user_message.lower():
|
| 74 |
-
return "
|
| 75 |
|
| 76 |
if related_subject:
|
| 77 |
prompt = f"You are a helpful AI chatbot for studying {related_subject}. The user is asking: {user_message}. Provide a detailed, helpful response related to {related_subject}."
|
|
|
|
| 71 |
|
| 72 |
# Custom response for "who created you" type of questions
|
| 73 |
if "kisne banaya" in user_message.lower() or "who created you" in user_message.lower():
|
| 74 |
+
return "I Created by Abdul Basit 😊"
|
| 75 |
|
| 76 |
if related_subject:
|
| 77 |
prompt = f"You are a helpful AI chatbot for studying {related_subject}. The user is asking: {user_message}. Provide a detailed, helpful response related to {related_subject}."
|