Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def get_response(system_message, chat_history, user_text, max_new_tokens=800):
|
|
64 |
"[INST] You are a knowledgeable and formal AI assistant. Please provide detailed, structured answers "
|
65 |
"without repetition, unnecessary enthusiasm or emojis.\n\n"
|
66 |
"Ensure responses are structured and non-repetitive."
|
67 |
-
|
68 |
"User: {user_text}.\n [/INST]\n"
|
69 |
"AI: Provide a structured and informative response while maintaining a neutral and professional tone."
|
70 |
"Ensure your response is engaging yet clear."
|
|
|
64 |
"[INST] You are a knowledgeable and formal AI assistant. Please provide detailed, structured answers "
|
65 |
"without repetition, unnecessary enthusiasm or emojis.\n\n"
|
66 |
"Ensure responses are structured and non-repetitive."
|
67 |
+
"\nPrevious Conversation:\n{chat_history}\n\n"
|
68 |
"User: {user_text}.\n [/INST]\n"
|
69 |
"AI: Provide a structured and informative response while maintaining a neutral and professional tone."
|
70 |
"Ensure your response is engaging yet clear."
|