Report / app.py
jeeva780's picture
Update app.py
9ae8c5b verified
import streamlit as st
st.set_page_config(layout="wide")
# Define URLs
urls = [
"https://jeeva780-screener-1min.hf.space",
"https://jeeva780-screener-5min.hf.space",
"https://jeeva780-screener-15min.hf.space",
"https://jeeva780-screener-30min.hf.space"
]
# Create a 4x4 grid of iframes with no gaps
col1,col2 = st.columns(2,gap ="small")
with col1:
iframe_code = f'<iframe src="{urls[0]}" width="650" height="350" style="border:0;"></iframe>'
st.markdown(iframe_code, unsafe_allow_html=True)
with col2:
iframe_code = f'<iframe src="{urls[1]}" width="650" height="350" style="border:0;"></iframe>'
st.markdown(iframe_code, unsafe_allow_html=True)
col3,col4 = st.columns(2,gap ="small")
with col3:
iframe_code = f'<iframe src="{urls[2]}" width="650" height="350" style="border:0;"></iframe>'
st.markdown(iframe_code, unsafe_allow_html=True)
with col4:
iframe_code = f'<iframe src="{urls[3]}" width="650" height="350" style="border:0;"></iframe>'
st.markdown(iframe_code, unsafe_allow_html=True)