Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def format_prompt(message, history):
|
|
| 28 |
#print(prompt)
|
| 29 |
prompt += f"{bot_response}\n"
|
| 30 |
#print(prompt)
|
| 31 |
-
prompt += f"<start_of_turn>user{message}<end_of_turn
|
| 32 |
return prompt
|
| 33 |
|
| 34 |
def chat_inf(system_prompt,prompt,history,memory,client_choice,seed,temp,tokens,top_p,rep_p,chat_mem):
|
|
|
|
| 28 |
#print(prompt)
|
| 29 |
prompt += f"{bot_response}\n"
|
| 30 |
#print(prompt)
|
| 31 |
+
prompt += f"<start_of_turn>user\n{message}<end_of_turn>\n<start_of_turn>model"
|
| 32 |
return prompt
|
| 33 |
|
| 34 |
def chat_inf(system_prompt,prompt,history,memory,client_choice,seed,temp,tokens,top_p,rep_p,chat_mem):
|