Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,7 @@ ROLE_TOKENS = {
|
|
28 |
"system": SYSTEM_TOKEN
|
29 |
}
|
30 |
|
|
|
31 |
|
32 |
def get_message_tokens(model, role, content):
|
33 |
message_tokens = model.tokenize(content.encode("utf-8"))
|
|
|
28 |
"system": SYSTEM_TOKEN
|
29 |
}
|
30 |
|
31 |
+
system_prompt = SYSTEM_PROMPT
|
32 |
|
33 |
def get_message_tokens(model, role, content):
|
34 |
message_tokens = model.tokenize(content.encode("utf-8"))
|