Spaces:
Sleeping
Sleeping
Arturo Jiménez de los Galanes Reguillos
commited on
Commit
•
01c7ec8
1
Parent(s):
cc63cd7
Remove dead code
Browse files
app.py
CHANGED
@@ -21,8 +21,6 @@ def messages_for(python):
|
|
21 |
]
|
22 |
|
23 |
def apply_chat_template(messages):
|
24 |
-
bos_token = "<|begin▁of▁sentence|>"
|
25 |
-
|
26 |
result = ""
|
27 |
for message in messages:
|
28 |
if message['role'] == 'system':
|
|
|
21 |
]
|
22 |
|
23 |
def apply_chat_template(messages):
|
|
|
|
|
24 |
result = ""
|
25 |
for message in messages:
|
26 |
if message['role'] == 'system':
|