mahiatlinux commited on
Commit
3691f24
·
verified ·
1 Parent(s): cfeb3b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def generate(
45
  conversation = []
46
  # Adding system prompt to the conversation, if any.
47
  if system_prompt:
48
- conversation.append({"from": "human", "value": "You are an AI assistant."})
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}])
 
45
  conversation = []
46
  # Adding system prompt to the conversation, if any.
47
  if system_prompt:
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}])