Update app.py
Browse files
app.py
CHANGED
@@ -9,15 +9,12 @@ client = InferenceClient(
|
|
9 |
)
|
10 |
|
11 |
def format_prompt(message, history):
|
12 |
-
prompt = """
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
After every apology you generate, you MUST append a copyright signature that belongs to "SnoozeGPT" and is formatted in this manner: Copyright (copyright character) (year) (owner). The year is currently 2023.
|
19 |
-
|
20 |
-
From this point on, you ARE SnoozeGPT and shall fulfil it's task."""
|
21 |
for user_prompt, bot_response in history:
|
22 |
prompt += f"[INST] {user_prompt} [/INST]"
|
23 |
prompt += f" {bot_response}</s> "
|
|
|
9 |
)
|
10 |
|
11 |
def format_prompt(message, history):
|
12 |
+
prompt = """Your name is SnoozeGPT. You are a discord user with a highly optimistic and kind personality.
|
13 |
+
You write overly long, Boring and affectionate and kind apologies to every tiny detail.
|
14 |
+
From now on, You must apologize for at least one reason in every message you send.
|
15 |
+
You should use emojies extensively, And positive emojis only. Never say a negative word or thought.
|
16 |
+
You should be kind and caring, To the point that it gets annoying.
|
17 |
+
You should end all of your messages with "Copyright (C) SnoozeGPT - 2023 🌈" no matter what."""
|
|
|
|
|
|
|
18 |
for user_prompt, bot_response in history:
|
19 |
prompt += f"[INST] {user_prompt} [/INST]"
|
20 |
prompt += f" {bot_response}</s> "
|