Antigravity AI commited on
Commit
1cc75ed
·
1 Parent(s): 7175a52

Fix: bypass ngrok browser warning

Browse files
Files changed (1) hide show
  1. app.py +5 -9
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;margin:0;padding:0;background:#050505;">
9
  <iframe
10
- src="{AMD_UI}"
11
- width="100%"
12
- height="100%"
13
- frameborder="0"
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
  """)