import gradio as gr
# 1. The HTML content for the iframe.
# We embed the CSS directly here for simplicity.
html_content = """
"""
# 2. Create a Gradio Blocks interface
# The `css` parameter injects CSS to remove Gradio's default padding and make our iframe container take up all the space.
with gr.Blocks(css=".gradio-container {padding: 0px !important;}") as demo:
# 3. Use the gr.HTML component to render our HTML string.
# The `elem_id` gives the main container a unique ID for styling if needed.
gr.HTML(value=html_content, elem_id="full-page-iframe")
# 4. Launch the app
demo.launch()