om-app commited on
Commit
353ffff
·
1 Parent(s): 728450f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,6 +1,7 @@
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()
 
1
  import gradio as gr
2
 
3
+ embed_widget_code = """<iframe src="https://openspeedtest.com/Get-widget.php" frameborder="0" scrolling="no" width="380" height="220" allowtransparency></iframe>"""
4
+
5
+ iface = gr.Interface(embed_widget_code, inputs=None, outputs="html", capture_session=False)
6
 
 
7
  iface.launch()