Spaces:
Running
Running
import gradio as gr | |
from gradio_iframe import iFrame | |
example = iFrame().example_inputs() | |
with gr.Blocks() as demo: | |
with gr.Row(): | |
gr.Markdown("## Blank iFrame and iFrame with another iFrame inside") | |
with gr.Row(): | |
iFrame(label="Blank"), # blank component | |
iFrame(value=example, label="Populated"), # populated component | |
demo.launch() | |