import gradio as gr from gradio_gptchatbot import GPTChatbot example = [ ("How do I create a Gradio app?", "You can create a Gradio app by...") ] with gr.Blocks() as demo: with gr.Row(): GPTChatbot(label="Blank"), # blank component GPTChatbot(value=example, label="Populated", layout="panel"), # populated component demo.launch()