ThongCoding commited on
Commit
8686f6b
·
verified ·
1 Parent(s): b47c34b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -37,6 +37,8 @@ def respond(message, history):
37
 
38
  # thêm vào history và return
39
  history.append((message, answer_vi))
 
 
40
  return "", history
41
 
42
  # 3) Gradio ChatInterface
 
37
 
38
  # thêm vào history và return
39
  history.append((message, answer_vi))
40
+
41
+ # Ensure the returned history format is a valid list of tuples
42
  return "", history
43
 
44
  # 3) Gradio ChatInterface