InternVL / app.py
czczup's picture
Update app.py
4f496de verified
raw
history blame
718 Bytes
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,
)