Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
embed_widget_code =
|
4 |
|
5 |
-
iface = gr.Interface(embed_widget_code,
|
6 |
-
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
embed_widget_code = "<iframe src='https://openspeedtest.com/Get-widget.php?v=0.0.1' style='border:none;height:190px;width:100%;' ></iframe>"
|
4 |
|
5 |
+
iface = gr.Interface(embed_widget_code, outputs="html", capture_session=False)
|
6 |
+
iface.launch()
|