vinhvo1205 commited on
Commit
fea1dfe
·
verified ·
1 Parent(s): 19c1f0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def respond(message, history, character_id, max_tokens, temperature, top_p):
39
  reply = result.choices[0].message.content
40
  history.append({"role": "user", "content": message})
41
  history.append({"role": "assistant", "content": reply})
42
- return history
43
 
44
 
45
  # Tạo danh sách lựa chọn nhân vật
 
39
  reply = result.choices[0].message.content
40
  history.append({"role": "user", "content": message})
41
  history.append({"role": "assistant", "content": reply})
42
+ return history, history
43
 
44
 
45
  # Tạo danh sách lựa chọn nhân vật