Spaces:
Running
Running
| 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="http://101.132.98.120:10003/"></iframe> | |
| </div> | |
| """, | |
| unsafe_allow_html=True, | |
| ) | |