Spaces:
Runtime error
Runtime error
Commit
·
0072ece
1
Parent(s):
ade31c0
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[0][0]
|
42 |
)
|
43 |
history[-1][1] = ""
|
44 |
for character in bot_message:
|