import gradio as gr with gr.Blocks() as demo: chatbot = gr.Chatbot() user_message = gr.Textbox() clear = gr.Button("Clear") demo.launch()