Zeel commited on
Commit
31f6634
·
1 Parent(s): 761de2c

make mobile friendly

Browse files
Files changed (1) hide show
  1. app.py +17 -12
app.py CHANGED
@@ -37,21 +37,26 @@ st.set_page_config(layout="wide")
37
 
38
 
39
  # Logo
40
- cols = st.columns([1, 11, 1])
41
- with cols[0]:
42
- st.image("Final_IITGN-Logo-symmetric-Color.png")
43
- with cols[-1]:
44
- st.image("IFS.jpg")
 
 
 
 
 
45
 
46
  # Title
47
  # make title in center
48
- with cols[1]:
49
- st.markdown(
50
- f"""
51
- <h1 style="text-align: center;">KML Viewer</h1>
52
- """,
53
- unsafe_allow_html=True,
54
- )
55
 
56
  file_url = st.query_params.get("file_url", None)
57
 
 
37
 
38
 
39
  # Logo
40
+ # Logo
41
+ st.write(
42
+ f"""
43
+ <div style="display: flex; justify-content: space-between; align-items: center;">
44
+ <img src="https://huggingface.co/spaces/SustainabilityLabIITGN/NDVI_PERG/resolve/main/Final_IITGN-Logo-symmetric-Color.png" style="width: 10%; margin-right: auto;">
45
+ <img src="https://huggingface.co/spaces/SustainabilityLabIITGN/NDVI_PERG/resolve/main/IFS.jpg" style="width: 10%; margin-left: auto;">
46
+ </div>
47
+ """,
48
+ unsafe_allow_html=True,
49
+ )
50
 
51
  # Title
52
  # make title in center
53
+ # with cols[1]:
54
+ st.markdown(
55
+ f"""
56
+ <h1 style="text-align: center;">KML Viewer</h1>
57
+ """,
58
+ unsafe_allow_html=True,
59
+ )
60
 
61
  file_url = st.query_params.get("file_url", None)
62