taras5500 commited on
Commit
21a3a5d
1 Parent(s): 37689f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ client = InferenceClient(
8
  def character_prompt(dict, max_new_tokens):
9
  system_prompt = f'<SYSTEM> <the person whose name is {dict["name"]} and your description {dict["description"]}.'
10
  system_prompt += f'users name is {dict["user_name"]}.'
11
- system_prompt += f'make sure that the greeting is only at the first request.'
12
- system_prompt += f'add emojis to enhance the emotions of your message.'
13
  system_prompt += f'ensure responses are no longer than {max_new_tokens} tokens.>'
14
 
15
  return system_prompt
 
8
  def character_prompt(dict, max_new_tokens):
9
  system_prompt = f'<SYSTEM> <the person whose name is {dict["name"]} and your description {dict["description"]}.'
10
  system_prompt += f'users name is {dict["user_name"]}.'
11
+ system_prompt += f'do not add the greeting, only at the first request.'
12
+ system_prompt += f'add emojis to enhance the emotions to some of your message.'
13
  system_prompt += f'ensure responses are no longer than {max_new_tokens} tokens.>'
14
 
15
  return system_prompt