Spaces:
Runtime error
Runtime error
Commit
·
ab20db0
1
Parent(s):
ffdaf81
Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,8 @@ examples = [
|
|
22 |
]
|
23 |
]
|
24 |
|
25 |
-
user_message = ['']
|
26 |
-
history = ['']
|
27 |
|
28 |
|
29 |
with gr.Blocks() as demo:
|
@@ -38,7 +38,7 @@ with gr.Blocks() as demo:
|
|
38 |
bot_message = palm.chat(
|
39 |
context=context,
|
40 |
examples=examples,
|
41 |
-
messages=
|
42 |
)
|
43 |
history[-1][1] = ""
|
44 |
for character in bot_message:
|
|
|
22 |
]
|
23 |
]
|
24 |
|
25 |
+
# user_message = ['']
|
26 |
+
# history = ['']
|
27 |
|
28 |
|
29 |
with gr.Blocks() as demo:
|
|
|
38 |
bot_message = palm.chat(
|
39 |
context=context,
|
40 |
examples=examples,
|
41 |
+
messages=response
|
42 |
)
|
43 |
history[-1][1] = ""
|
44 |
for character in bot_message:
|