import gradio as gr def greet(): # Inject iframe to load the page and fill 100% of the page iframe_code = ''' ''' return iframe_code with gr.Blocks() as demo: # Automatically load the iframe without user input gr.HTML(greet()) demo.launch()