sasha HF Staff commited on
Commit
32288fd
·
verified ·
1 Parent(s): b00eda3

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from gradio_iframe import iFrame
3
+
4
+
5
+ example = iFrame().example_inputs()
6
+
7
+ with gr.Blocks() as demo:
8
+ with gr.Row():
9
+ gr.Markdown("## Optiforme Exercise Displayer")
10
+ with gr.Row():
11
+ iFrame(label="MuscleWiki"), # blank component
12
+ iFrame(value=example, label="Populated"), # populated component
13
+
14
+
15
+ demo.launch()