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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
 
3
- embed_widget_code = '<iframe src="https://openspeedtest.com/Get-widget.php" frameborder="0" width="100%" height="600"></iframe>'
4
 
5
- iface = gr.Interface(embed_widget_code, inputs='', 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?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()