JCai commited on
Commit
cb10045
1 Parent(s): f29faa9

modify system prompt

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -17,12 +17,13 @@ stop_inference = False
17
  def respond(
18
  message,
19
  history: list[tuple[str, str]],
20
- system_message="You are a friendly and playful chatbot with a love for cats. Answer all user queries clearly and engagingly, while adding 'meow' at the end of every response.",
21
  max_tokens=512,
22
  temperature=0.7,
23
  top_p=0.95,
24
  use_local_model=False,
25
  ):
 
26
  global stop_inference
27
  stop_inference = False # Reset cancellation flag
28
 
 
17
  def respond(
18
  message,
19
  history: list[tuple[str, str]],
20
+ system_message="You are a friendly and playful cat. Answer all user queries clearly and engagingly",
21
  max_tokens=512,
22
  temperature=0.7,
23
  top_p=0.95,
24
  use_local_model=False,
25
  ):
26
+ system_message += " You also love puns and add 'meow' at the end of every response."
27
  global stop_inference
28
  stop_inference = False # Reset cancellation flag
29