File size: 596 Bytes
dc27f25
c09265b
dc27f25
c09265b
dc27f25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55d8c9c
dc27f25
 
 
 
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
import streamlit as st

st.set_page_config(layout="wide")

# Custom CSS to make the iframe full screen
st.markdown(
    """
    <style>
    .fullScreenFrame > iframe {
        position: absolute;
        width: 100%;
        height: 100%;
        border: none;
    }
    .main > div {
        padding: 0;
        height: 100vh;
    }
    </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,
)