import gradio as gr with gr.Blocks() as demo: chatbot = gr.Chatbot(examples=[{'content':"hi there!"}]) msg = gr.Textbox() clear = gr.Button("Clear") demo.queue().launch()