Spaces:
Runtime error
Runtime error
Commit
·
aeb75e5
1
Parent(s):
e3d17ed
Update app.py
Browse files
app.py
CHANGED
@@ -36,6 +36,8 @@ with gr.Blocks() as demo:
|
|
36 |
def bot(history):
|
37 |
# chat_history.append(message) # Initialize chat history
|
38 |
# history[-1][1] = " "
|
|
|
|
|
39 |
bot_message = palm.chat(
|
40 |
context=context,
|
41 |
examples=examples,
|
|
|
36 |
def bot(history):
|
37 |
# chat_history.append(message) # Initialize chat history
|
38 |
# history[-1][1] = " "
|
39 |
+
print(history)
|
40 |
+
print(history[:-2])
|
41 |
bot_message = palm.chat(
|
42 |
context=context,
|
43 |
examples=examples,
|