om-app commited on
Commit
cfff1c2
·
1 Parent(s): 709df48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -1,7 +1,14 @@
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,
 
1
  import gradio as gr
2
 
3
  iframe = gr.outputs.HTML(
4
+ " <div style="text-align:right;">
5
+ <div style="min-height:360px;">
6
+ <div style="width:100%;height:0;padding-bottom:50%;position:relative;">
7
+ <iframe style="border:none;position:absolute;top:0;left:0;width:100%;height:100%;min-height:360px;border:none;overflow:hidden !important;" src="//openspeedtest.com/speedtest"></iframe>
8
+ </div>
9
+ </div>
10
+ Provided by <a href="https://openspeedtest.com">OpenSpeedtest.com</a>
11
+ </div>")
12
 
13
  iface = gr.Interface(
14
  fn=lambda x: x,