Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,11 +2,11 @@ import streamlit as st
|
|
| 2 |
|
| 3 |
st.set_page_config(layout="wide")
|
| 4 |
|
| 5 |
-
#
|
| 6 |
st.markdown(
|
| 7 |
"""
|
| 8 |
<style>
|
| 9 |
-
iframe {
|
| 10 |
position: absolute;
|
| 11 |
width: 100%;
|
| 12 |
height: 100%;
|
|
@@ -21,5 +21,12 @@ st.markdown(
|
|
| 21 |
unsafe_allow_html=True,
|
| 22 |
)
|
| 23 |
|
| 24 |
-
# Embed the external webpage
|
| 25 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
st.set_page_config(layout="wide")
|
| 4 |
|
| 5 |
+
# Custom CSS to make the iframe full screen
|
| 6 |
st.markdown(
|
| 7 |
"""
|
| 8 |
<style>
|
| 9 |
+
.fullScreenFrame > iframe {
|
| 10 |
position: absolute;
|
| 11 |
width: 100%;
|
| 12 |
height: 100%;
|
|
|
|
| 21 |
unsafe_allow_html=True,
|
| 22 |
)
|
| 23 |
|
| 24 |
+
# Embed the external Streamlit webpage
|
| 25 |
+
st.markdown(
|
| 26 |
+
"""
|
| 27 |
+
<div class="fullScreenFrame">
|
| 28 |
+
<iframe src="https://internvl.opengvlab.com/"></iframe>
|
| 29 |
+
</div>
|
| 30 |
+
""",
|
| 31 |
+
unsafe_allow_html=True,
|
| 32 |
+
)
|