Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|