Spaces:
Runtime error
Runtime error
Commit
·
7314f64
1
Parent(s):
796146a
Update app.py
Browse files
app.py
CHANGED
@@ -32,6 +32,7 @@ with gr.Blocks() as demo:
|
|
32 |
clear = gr.ClearButton([msg, chatbot])
|
33 |
|
34 |
def respond(message,chat_history):
|
|
|
35 |
user_input.append([chat_history[0]])
|
36 |
|
37 |
bot_message = palm.chat(
|
|
|
32 |
clear = gr.ClearButton([msg, chatbot])
|
33 |
|
34 |
def respond(message,chat_history):
|
35 |
+
chat_history.append(message) # Initialize chat history
|
36 |
user_input.append([chat_history[0]])
|
37 |
|
38 |
bot_message = palm.chat(
|