Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,4 +39,7 @@ with gr.Blocks() as demo:
|
|
39 |
clear = gr.Button("Clear")
|
40 |
msg.submit(predict, [msg, chatbot], [msg, chatbot])
|
41 |
btn2.click(predict, [msg, chatbot], [msg, chatbot])
|
42 |
-
clear.click(lambda: None, None, chatbot, queue=False)
|
|
|
|
|
|
|
|
39 |
clear = gr.Button("Clear")
|
40 |
msg.submit(predict, [msg, chatbot], [msg, chatbot])
|
41 |
btn2.click(predict, [msg, chatbot], [msg, chatbot])
|
42 |
+
clear.click(lambda: None, None, chatbot, queue=False)
|
43 |
+
|
44 |
+
if __name__ == "__main__":
|
45 |
+
demo.launch()
|