Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,17 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
with gr.Blocks() as demo:
|
| 4 |
-
gr.
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
demo.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
with gr.Blocks() as demo:
|
| 4 |
+
gr.HTML("""
|
| 5 |
+
<div style="width:100vw; height:100vh; overflow:hidden; margin:-20px; padding:0;">
|
| 6 |
+
<iframe
|
| 7 |
+
src="http://47.95.6.204:51000/"
|
| 8 |
+
sandbox="allow-scripts allow-same-origin allow-fullscreen"
|
| 9 |
+
allow="fullscreen"
|
| 10 |
+
width="100%"
|
| 11 |
+
height="100%"
|
| 12 |
+
style="border:none;"
|
| 13 |
+
></iframe>
|
| 14 |
+
</div>
|
| 15 |
+
""")
|
| 16 |
|
| 17 |
demo.launch()
|