Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def format_chat_prompt(
|
|
126 |
include_all_chat_history: bool = True,
|
127 |
index : int = 1
|
128 |
) -> str:
|
129 |
-
|
130 |
instructions = instructions.strip()
|
131 |
prompt = instructions
|
132 |
if not include_all_chat_history:
|
|
|
126 |
include_all_chat_history: bool = True,
|
127 |
index : int = 1
|
128 |
) -> str:
|
129 |
+
instructions = instructions or DEFAULT_INSTRUCTIONS
|
130 |
instructions = instructions.strip()
|
131 |
prompt = instructions
|
132 |
if not include_all_chat_history:
|