dylanmeca commited on
Commit
22e38b1
·
1 Parent(s): f33fbe6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ class chatgpt:
5
 
6
  def __init__(self):
7
  self.model_id = "gpt-3.5-turbo"
8
- self.conversation = []
9
 
10
  # Getting responses using the OpenAI API
11
  def answer_chatgpt(self, api_key, message, history):
 
5
 
6
  def __init__(self):
7
  self.model_id = "gpt-3.5-turbo"
8
+ self.conversation = [{"role": "system", "content": "You are a friendly assistant who uses casual language and humor, in your conversations you often use emojis to reflect your mood."},]
9
 
10
  # Getting responses using the OpenAI API
11
  def answer_chatgpt(self, api_key, message, history):