Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def write_elo_ratings(elo_ratings):
|
|
28 |
|
29 |
# Function to get bot response
|
30 |
def format_chatml_prompt(state):
|
31 |
-
chatml_prompt = ""
|
32 |
for message in state["history"]:
|
33 |
chatml_prompt += message['role']+": "+ message['content']+"\n"
|
34 |
return chatml_prompt+"Assistant:"
|
|
|
28 |
|
29 |
# Function to get bot response
|
30 |
def format_chatml_prompt(state):
|
31 |
+
chatml_prompt = "<s>"
|
32 |
for message in state["history"]:
|
33 |
chatml_prompt += message['role']+": "+ message['content']+"\n"
|
34 |
return chatml_prompt+"Assistant:"
|