Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -959,7 +959,7 @@ with gr.Blocks() as block:
|
|
959 |
clear = gr.ClearButton([msg, chatbot])
|
960 |
|
961 |
def user(user_message, history):
|
962 |
-
return "", [[user_message, None]]
|
963 |
|
964 |
def bot(history, chat_engine):
|
965 |
print(chat_engine)
|
|
|
959 |
clear = gr.ClearButton([msg, chatbot])
|
960 |
|
961 |
def user(user_message, history):
|
962 |
+
return "", history + [[user_message, None]]
|
963 |
|
964 |
def bot(history, chat_engine):
|
965 |
print(chat_engine)
|