Update app.py
Browse files
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'
|
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
|