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