Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1429,7 +1429,7 @@ def run_chatbot(n_clicks, n_submit, user_input, chat_history, array_value):
|
|
1429 |
{context}
|
1430 |
{question} [/INST] </s>
|
1431 |
"""
|
1432 |
-
context_p = context[:
|
1433 |
name = "Mistral"
|
1434 |
chat_history += f"Vous: {user_input}<split>{name}:"
|
1435 |
|
|
|
1429 |
{context}
|
1430 |
{question} [/INST] </s>
|
1431 |
"""
|
1432 |
+
context_p = context[:48000]
|
1433 |
name = "Mistral"
|
1434 |
chat_history += f"Vous: {user_input}<split>{name}:"
|
1435 |
|