Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,10 @@ def respond(
|
|
| 11 |
temperature,
|
| 12 |
top_p,
|
| 13 |
):
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
messages = [{"role": "system", "content": system_message}]
|
| 15 |
|
| 16 |
for val in history:
|
|
|
|
| 11 |
temperature,
|
| 12 |
top_p,
|
| 13 |
):
|
| 14 |
+
# Check for specific questions and provide predefined answers
|
| 15 |
+
if message.lower() == "who created this chat bot":
|
| 16 |
+
return "This chatbot was created by [Your Name]."
|
| 17 |
+
|
| 18 |
messages = [{"role": "system", "content": system_message}]
|
| 19 |
|
| 20 |
for val in history:
|