| 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; |
| } |
| </style> |
| """, |
| unsafe_allow_html=True, |
| ) |
| |
| st.markdown( |
| """ |
| <div class="fullScreenFrame"> |
| <iframe src="https://internvl.opengvlab.com/"></iframe> |
| </div> |
| """, |
| unsafe_allow_html=True, |
| ) |
|
|
|
|