File size: 277 Bytes
d2116db
fe1089d
 
 
 
 
 
 
 
d2116db
 
fe1089d
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

import gradio as gr
from gradio_iframe import iframe


example = iframe().example_inputs()

with gr.Blocks() as demo:
    with gr.Row():
        iframe(label="Blank"),  # blank component
        iframe(value=example, label="Populated"),  # populated component


demo.launch()