import gradio as gr iframe = gr.outputs.HTML( "") iface = gr.Interface( fn=lambda x: x, inputs=None, outputs=iframe, capture_session=False) iface.launch()