Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def respond(message, history):
|
|
35 |
response = decoded[len(prompt):].strip().split("\n")[0]
|
36 |
|
37 |
# append to history as a tuple of two plain strings
|
38 |
-
history.append(
|
39 |
# return "" to clear the textbox, and the updated history for the Chatbot
|
40 |
return "", history
|
41 |
|
|
|
35 |
response = decoded[len(prompt):].strip().split("\n")[0]
|
36 |
|
37 |
# append to history as a tuple of two plain strings
|
38 |
+
history.append([message, response])
|
39 |
# return "" to clear the textbox, and the updated history for the Chatbot
|
40 |
return "", history
|
41 |
|