MrAli813 commited on
Commit
443f68a
·
1 Parent(s): 7b72dca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def predict(message, history):
10
  for human, assistant in history:
11
  history_openai_format.append({"role": "user", "content": human })
12
  history_openai_format.append({"role": "assistant", "content":assistant})
13
- history_openai_format.append({"role": "user", "content": message})
14
 
15
  response = openai.ChatCompletion.create(
16
  model='gpt-3.5-turbo',
 
10
  for human, assistant in history:
11
  history_openai_format.append({"role": "user", "content": human })
12
  history_openai_format.append({"role": "assistant", "content":assistant})
13
+ history_openai_format.append({"role": "user", "content": message})
14
 
15
  response = openai.ChatCompletion.create(
16
  model='gpt-3.5-turbo',