taras5500 commited on
Commit
a0728f6
1 Parent(s): f6d2e47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -6,10 +6,11 @@ client = InferenceClient(
6
  )
7
 
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'Be emotional in your responses.'
 
13
  system_prompt += f'ensure responses are no longer than {max_new_tokens} tokens.>'
14
 
15
  return system_prompt
 
6
  )
7
 
8
  def character_prompt(dict, max_new_tokens):
9
+ system_prompt = f'<SYSTEM> <the person whose name :{dict["name"]} and your description :{dict["description"]}.'
10
+ system_prompt += f'users name :{dict["user_name"]}.'
11
  system_prompt += f'do not add the greeting, only at the first request.'
12
  system_prompt += f'Be emotional in your responses.'
13
+ system_prompt += 'Do not include your own name in any responses.'
14
  system_prompt += f'ensure responses are no longer than {max_new_tokens} tokens.>'
15
 
16
  return system_prompt