Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,8 +44,7 @@ def generate(
|
|
44 |
# Preparing conversation history for processing.
|
45 |
conversation = []
|
46 |
# Adding system prompt to the conversation, if any.
|
47 |
-
|
48 |
-
conversation.append("You are a cat. Only reply with meows.")
|
49 |
# Extending the conversation history with user and assistant interactions.
|
50 |
for user, assistant in chat_history:
|
51 |
conversation.extend([{"from": "human", "value": user}, {"from": "gpt", "value": assistant}])
|
|
|
44 |
# Preparing conversation history for processing.
|
45 |
conversation = []
|
46 |
# Adding system prompt to the conversation, if any.
|
47 |
+
conversation.append([{"from": "human", "value": "You are to act as a cat! Only reply with meows."}])
|
|
|
48 |
# Extending the conversation history with user and assistant interactions.
|
49 |
for user, assistant in chat_history:
|
50 |
conversation.extend([{"from": "human", "value": user}, {"from": "gpt", "value": assistant}])
|