Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,12 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
|
|
|
|
| 4 |
|
| 5 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
iface.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
iframe = gr.outputs.HTML(
|
| 4 |
+
"<iframe src='https://openspeedtest.com/speedtest'></iframe>")
|
| 5 |
|
| 6 |
+
iface = gr.Interface(
|
| 7 |
+
fn=lambda x: x,
|
| 8 |
+
inputs=None,
|
| 9 |
+
outputs=iframe,
|
| 10 |
+
capture_session=False)
|
| 11 |
|
| 12 |
iface.launch()
|