czczup commited on
Commit
4f496de
1 Parent(s): 9d512c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -0
app.py CHANGED
@@ -2,6 +2,31 @@ import streamlit as st
2
 
3
  st.set_page_config(layout="wide")
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  # Embed the external Streamlit webpage
6
  st.markdown(
7
  """
 
2
 
3
  st.set_page_config(layout="wide")
4
 
5
+ st.markdown(
6
+ """
7
+ <style>
8
+ .fullScreenFrame {
9
+ position: relative;
10
+ padding-bottom: 56.25%; /* Aspect ratio */
11
+ height: 0;
12
+ overflow: hidden;
13
+ max-width: 100%;
14
+ background: #000;
15
+ }
16
+
17
+ .fullScreenFrame iframe {
18
+ position: absolute;
19
+ top: 0;
20
+ left: 0;
21
+ width: 100%;
22
+ height: 100%;
23
+ border: 0;
24
+ }
25
+ </style>
26
+ """,
27
+ unsafe_allow_html=True,
28
+ )
29
+
30
  # Embed the external Streamlit webpage
31
  st.markdown(
32
  """