jeeva780 commited on
Commit
836bfb7
·
verified ·
1 Parent(s): 62d0954

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -9
app.py CHANGED
@@ -2,16 +2,24 @@ import streamlit as st
2
 
3
  # Define URLs
4
  urls = [
5
- "https://www.example1.com",
6
- "https://www.example2.com",
7
- "https://www.example3.com",
8
- "https://www.example4.com"
9
  ]
10
 
11
  # Create a 4x4 grid of iframes with no gaps
12
- columns = st.columns(4)
13
 
14
- for i in range(4):
15
- with columns[i]:
16
- iframe_code = f'<iframe src="{urls[i]}" width="100%" height="400" style="border:0;"></iframe>'
17
- st.markdown(iframe_code, unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
2
 
3
  # Define URLs
4
  urls = [
5
+ "https://huggingface.co/spaces/jeeva780/Screener_1Min/tree/main",
6
+ "https://huggingface.co/spaces/jeeva780/Screener_5Min/tree/main",
7
+ "https://huggingface.co/spaces/jeeva780/Screener_15Min/tree/main",
8
+ "https://huggingface.co/spaces/jeeva780/Screener_30Min/tree/main"
9
  ]
10
 
11
  # Create a 4x4 grid of iframes with no gaps
12
+ col1,col2 = st.columns(2,gap ="small")
13
 
14
+ with col1:
15
+ iframe_code = f'<iframe src="{urls[1]}" width="100%" height="400" style="border:0;"></iframe>'
16
+ st.markdown(iframe_code, unsafe_allow_html=True)
17
+ with col1:
18
+ iframe_code = f'<iframe src="{urls[2]}" width="100%" height="400" style="border:0;"></iframe>'
19
+ st.markdown(iframe_code, unsafe_allow_html=True)
20
+ with col1:
21
+ iframe_code = f'<iframe src="{urls[3]}" width="100%" height="400" style="border:0;"></iframe>'
22
+ st.markdown(iframe_code, unsafe_allow_html=True)
23
+ with col1:
24
+ iframe_code = f'<iframe src="{urls[4]}" width="100%" height="400" style="border:0;"></iframe>'
25
+ st.markdown(iframe_code, unsafe_allow_html=True)