Spaces:
Running
Running
File size: 915 Bytes
dc27f25 c09265b dc27f25 c09265b 047b11d 4f496de ff20f69 ff93aa3 ff20f69 ff93aa3 ff20f69 4f496de ff20f69 4f496de ff20f69 ff93aa3 ff20f69 4f496de 047b11d 4f496de 047b11d 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 41 42 43 44 45 46 47 48 49 50 51 52 53 |
import streamlit as st
st.set_page_config(layout="wide")
st.markdown(
"""
<style>
html, body, .fullScreenFrame, .fullScreenFrame iframe {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
border: none;
display: block;
overflow: hidden;
}
.fullScreenFrame {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999;
}
.main .block-container {
padding: 0;
margin: 0;
height: 100vh;
}
/* Hide Streamlit header and footer */
header, footer {
display: none;
}
</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,
)
|