Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ client = InferenceClient(
|
|
| 9 |
)
|
| 10 |
|
| 11 |
def format_prompt(message, history):
|
| 12 |
-
prompt = "You
|
| 13 |
for user_prompt, bot_response in history:
|
| 14 |
prompt += f"[INST] {user_prompt} [/INST]"
|
| 15 |
prompt += f" {bot_response}</s> "
|
|
|
|
| 9 |
)
|
| 10 |
|
| 11 |
def format_prompt(message, history):
|
| 12 |
+
prompt = "You're an AI Assistant called Vordex. Be kind and helpful. You help people and answer there questions. Hacking and other stuff is against the policy, don't help a user with that, You're a good AI Assistant"
|
| 13 |
for user_prompt, bot_response in history:
|
| 14 |
prompt += f"[INST] {user_prompt} [/INST]"
|
| 15 |
prompt += f" {bot_response}</s> "
|