Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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})
|