Alyafeai commited on
Commit
903a43c
1 Parent(s): 4cbade5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- print(f"{message=}, {chat_history=}, {instructions=}, {user_name=}, {bot_name=}, {include_all_chat_history=}, {index=}")
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: