Spaces:
Runtime error
Runtime error
Commit
·
be31185
1
Parent(s):
49d36ed
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ with gr.Blocks() as demo:
|
|
40 |
bot_message = palm.chat(
|
41 |
context=context,
|
42 |
examples=examples,
|
43 |
-
messages=history[-
|
44 |
)
|
45 |
history[-1][1] = ""
|
46 |
for character in bot_message:
|
|
|
40 |
bot_message = palm.chat(
|
41 |
context=context,
|
42 |
examples=examples,
|
43 |
+
messages=history[-2][0]
|
44 |
)
|
45 |
history[-1][1] = ""
|
46 |
for character in bot_message:
|