Spaces:
Sleeping
Sleeping
Create app.py
Browse files
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()
|