Antigravity AI commited on
Commit ·
1cc75ed
1
Parent(s): 7175a52
Fix: bypass ngrok browser warning
Browse files
app.py
CHANGED
|
@@ -1,19 +1,15 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
import requests
|
| 3 |
|
| 4 |
AMD_UI = "https://attendee-unengaged-explain.ngrok-free.dev"
|
| 5 |
|
| 6 |
with gr.Blocks(title="KAAL Foresight") as demo:
|
| 7 |
gr.HTML(f"""
|
| 8 |
-
<div style="position:fixed;top:0;left:0;width:100%;height:100vh;
|
| 9 |
<iframe
|
| 10 |
-
src="{AMD_UI}"
|
| 11 |
-
width="100%"
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
scrolling="yes"
|
| 15 |
-
style="border:none;width:100%;height:100vh;"
|
| 16 |
-
sandbox="allow-same-origin allow-scripts allow-forms allow-popups">
|
| 17 |
</iframe>
|
| 18 |
</div>
|
| 19 |
""")
|
|
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
|
| 3 |
AMD_UI = "https://attendee-unengaged-explain.ngrok-free.dev"
|
| 4 |
|
| 5 |
with gr.Blocks(title="KAAL Foresight") as demo:
|
| 6 |
gr.HTML(f"""
|
| 7 |
+
<div style="position:fixed;top:0;left:0;width:100%;height:100vh;">
|
| 8 |
<iframe
|
| 9 |
+
src="{AMD_UI}?ngrok-skip-browser-warning=true"
|
| 10 |
+
width="100%" height="100%"
|
| 11 |
+
frameborder="0"
|
| 12 |
+
style="border:none;width:100%;height:100vh;">
|
|
|
|
|
|
|
|
|
|
| 13 |
</iframe>
|
| 14 |
</div>
|
| 15 |
""")
|