File size: 718 Bytes
dc27f25
c09265b
dc27f25
c09265b
4f496de
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d512c1
 
 
 
 
 
 
 
 
c09265b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import streamlit as st

st.set_page_config(layout="wide")

st.markdown(
    """
    <style>
    .fullScreenFrame {
        position: relative;
        padding-bottom: 56.25%; /* Aspect ratio */
        height: 0;
        overflow: hidden;
        max-width: 100%;
        background: #000;
    }

    .fullScreenFrame iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    </style>
    """,
    unsafe_allow_html=True,
)

# Embed the external Streamlit webpage
st.markdown(
    """
    <div class="fullScreenFrame">
        <iframe src="https://internvl.opengvlab.com/"></iframe>
    </div>
    """,
    unsafe_allow_html=True,
)