Spaces:
Runtime error
Runtime error
fix: use ؛ as new line
Browse files
app.py
CHANGED
|
@@ -560,7 +560,7 @@ f_stop = threading.Event()
|
|
| 560 |
asynchronous_push(f_stop)
|
| 561 |
|
| 562 |
def format_prompt(message, history, system_prompt):
|
| 563 |
-
prompt = ""
|
| 564 |
if system_prompt:
|
| 565 |
prompt += f"{system_prompt}"
|
| 566 |
for user_prompt, bot_response in history:
|
|
|
|
| 560 |
asynchronous_push(f_stop)
|
| 561 |
|
| 562 |
def format_prompt(message, history, system_prompt):
|
| 563 |
+
prompt = "؛"
|
| 564 |
if system_prompt:
|
| 565 |
prompt += f"{system_prompt}"
|
| 566 |
for user_prompt, bot_response in history:
|