Leiyan525 commited on
Commit
25582be
·
1 Parent(s): f048aa1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def respond(openai_apikey, chat_history):
32
  temperature=0.7
33
  )
34
  if not chat_history:
35
- chat_history.apend([','])
36
  if chat_history[-1][1] is None:
37
  chat_history[-1][1] = ""
38
  for re_chunk in re_chat_completion.choices:
 
32
  temperature=0.7
33
  )
34
  if not chat_history:
35
+ chat_history.append([','])
36
  if chat_history[-1][1] is None:
37
  chat_history[-1][1] = ""
38
  for re_chunk in re_chat_completion.choices: