import gradio as gr def test(inp): out = """ """ return out with gr.Blocks() as app: input = gr.Textbox() btn = gr.Button() output = gr.HTML("""""") btn.click(test,input,output) app.launch()