Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,8 @@ def streaming_chat(user_query, system_prompt):
|
|
| 52 |
# These are the markers our Python function uses to slice the text
|
| 53 |
stop_markers = [
|
| 54 |
"%^%^%^",
|
| 55 |
-
"
|
|
|
|
| 56 |
"Assistant:"
|
| 57 |
]
|
| 58 |
|
|
|
|
| 52 |
# These are the markers our Python function uses to slice the text
|
| 53 |
stop_markers = [
|
| 54 |
"%^%^%^",
|
| 55 |
+
"[end of text]",
|
| 56 |
+
"User:",
|
| 57 |
"Assistant:"
|
| 58 |
]
|
| 59 |
|