nruto commited on
Commit
4ee3a4a
·
verified ·
1 Parent(s): f66eff8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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: