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