Report / app.py
jeeva780's picture
Update app.py
ea76dbf verified
raw
history blame
451 Bytes
import streamlit as st
# Define URLs
urls = [
"https://www.example1.com",
"https://www.example2.com",
"https://www.example3.com",
"https://www.example4.com"
]
# Create a 4x4 grid of iframes with no gaps
columns = st.beta_columns(4)
for i in range(4):
with columns[i]:
iframe_code = f'<iframe src="{urls[i]}" width="100%" height="400" style="border:0;"></iframe>'
st.markdown(iframe_code, unsafe_allow_html=True)