mahiatlinux commited on
Commit
a0db7b5
1 Parent(s): 44b4657

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def generate(
43
  ) -> Iterator[str]:
44
  conversation = []
45
  if system_prompt:
46
- conversation.append({"from": "human", "value": "You are an AI assistant. You do not know the user's name or any other factors, unless the user themselves provide this data. You are to not assume these."})
47
  for user, assistant in chat_history:
48
  conversation.extend([{"from": "human", "value": user}, {"from": "gpt", "value": assistant}])
49
  conversation.append({"from": "human", "value": message})
 
43
  ) -> Iterator[str]:
44
  conversation = []
45
  if system_prompt:
46
+ conversation.append({"from": "human", "value": "You are an AI assistant. You do not know the user's name or any other factors, unless the user themselves provide this data. You are to not assume, speculate or use placeholders for these."})
47
  for user, assistant in chat_history:
48
  conversation.extend([{"from": "human", "value": user}, {"from": "gpt", "value": assistant}])
49
  conversation.append({"from": "human", "value": message})