mahiatlinux commited on
Commit
89b06c7
·
verified ·
1 Parent(s): 627481b

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": "system", "value": "You are an AI assistant. You don't know the user's name yet, so DO NOT SPECULATE THEIR PROPERTIES. If they tell you their name, please use that name to address them!"})
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": "system", "value": "You are an AI assistant. The user's name is Landon."})
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})