Spaces:
Runtime error
Runtime error
FIX: Use system prompt instead of assistant
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ def bot_respond(user_query, history: list):
|
|
96 |
|
97 |
qna_messages = [
|
98 |
{
|
99 |
-
"role": "
|
100 |
"content": SYSTEM_PROMPT,
|
101 |
},
|
102 |
{
|
|
|
96 |
|
97 |
qna_messages = [
|
98 |
{
|
99 |
+
"role": "system",
|
100 |
"content": SYSTEM_PROMPT,
|
101 |
},
|
102 |
{
|