import gradio as gr def dummy_function(input_text): return f"You entered: {input_text}" iface = gr.Interface( fn=dummy_function, inputs="text", outputs="text", ) iframe_html = """ """ iface.add_component(gr.HTML(iframe_html)) iface.launch()