Spaces:
Sleeping
Sleeping
Commit
·
d44c352
1
Parent(s):
6b0c2cb
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def get_manual_content():
|
|
15 |
|
16 |
def format_prompt(message, history):
|
17 |
global manual_content
|
18 |
-
if manual_content is None:
|
19 |
get_manual_content()
|
20 |
prompt = "<s>"
|
21 |
if manual_content:
|
|
|
15 |
|
16 |
def format_prompt(message, history):
|
17 |
global manual_content
|
18 |
+
if manual_content is None or not history:
|
19 |
get_manual_content()
|
20 |
prompt = "<s>"
|
21 |
if manual_content:
|