Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,14 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
iframe = gr.outputs.HTML(
|
| 4 |
-
"<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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,
|