Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,14 @@
|
|
| 1 |
-
import os
|
| 2 |
import streamlit as st
|
| 3 |
-
import streamlit.components.v1 as components
|
| 4 |
|
| 5 |
st.set_page_config(layout="wide")
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
-
iframe_html = f'<iframe src="{backend_url}" width="100%" height="800"></iframe>'
|
| 10 |
-
|
| 11 |
-
components.html(iframe_html, height=800)
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
|
|
|
| 2 |
|
| 3 |
st.set_page_config(layout="wide")
|
| 4 |
|
| 5 |
+
# Embed the external Streamlit webpage
|
| 6 |
+
st.markdown(
|
| 7 |
+
"""
|
| 8 |
+
<div class="fullScreenFrame">
|
| 9 |
+
<iframe src="https://internvl.opengvlab.com/"></iframe>
|
| 10 |
+
</div>
|
| 11 |
+
""",
|
| 12 |
+
unsafe_allow_html=True,
|
| 13 |
+
)
|
| 14 |
|
|
|
|
|
|
|
|
|