Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def predict(message, history, system_prompt, temperature, max_new_tokens, top_k,
|
|
65 |
instruction = '<|System|>\n' + system_prompt + '\n'
|
66 |
for user, assistant in history:
|
67 |
instruction += f'<|User|>\n{user}\n<|Assistant|>\n{assistant}\n'
|
68 |
-
instruction += f'<|User|>\n{message}\n
|
69 |
|
70 |
print(instruction)
|
71 |
|
|
|
65 |
instruction = '<|System|>\n' + system_prompt + '\n'
|
66 |
for user, assistant in history:
|
67 |
instruction += f'<|User|>\n{user}\n<|Assistant|>\n{assistant}\n'
|
68 |
+
instruction += f'<|User|>\n{message}\n<think>\n'
|
69 |
|
70 |
print(instruction)
|
71 |
|