import gradio as gr def embed_html(html_frame): return gr.outputs.HTML(html_frame) iface = gr.Interface( fn=embed_html, inputs=gr.inputs.Textbox(label="Enter HTML frame here"), outputs="html", title="HTML Frame Embedder", description="Input an HTML frame and see it embedded below." ) iface.launch()