Spaces:
Sleeping
Sleeping
Fix system prompt
Browse files
app.py
CHANGED
|
@@ -97,7 +97,7 @@ with gr.Blocks() as demo:
|
|
| 97 |
# user_question = history[-1][0]
|
| 98 |
history[-1][1] = ""
|
| 99 |
|
| 100 |
-
history_messages = system_prompt + history_messages
|
| 101 |
print(history_messages)
|
| 102 |
|
| 103 |
data = {
|
|
|
|
| 97 |
# user_question = history[-1][0]
|
| 98 |
history[-1][1] = ""
|
| 99 |
|
| 100 |
+
history_messages = [system_prompt] + history_messages
|
| 101 |
print(history_messages)
|
| 102 |
|
| 103 |
data = {
|