YashMK89 commited on
Commit
7453fdd
·
verified ·
1 Parent(s): e6c0c4f

update app.py

Browse files
Files changed (1) hide show
  1. app.py +28 -46
app.py CHANGED
@@ -26,26 +26,28 @@ m = st.markdown(
26
  unsafe_allow_html=True,
27
  )
28
 
29
- # # Logo
30
- # st.write(
31
- # f"""
32
- # <div style="display: flex; justify-content: space-between; align-items: center;">
33
- # <img src="https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/ISRO_Logo.png" style="width: 20%; margin-right: auto;">
34
- # <img src="https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/SAC_Logo.png" style="width: 20%; margin-left: auto;">
35
- # </div>
36
- # """,
37
- # unsafe_allow_html=True,
38
- # )
39
 
40
  # Title
41
- # st.markdown(
42
- # f"""
43
- # <h1 style="text-align: center;">BHOOMI</h1>
44
- # <h3 style="text-align: center;">(Bandwise Harmonization & Optimized Output for multispectral integration)</h3>
45
- # <hr>
46
- # """,
47
- # unsafe_allow_html=True,
48
- # )
 
 
49
  # st.markdown(
50
  # f"""
51
  # <div style="text-align: center; background-image: url('https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/B1.jpg'); background-size: cover; padding: 20px;">
@@ -61,15 +63,16 @@ m = st.markdown(
61
  # )
62
  # st.write("<h4><div style='text-align: center;'>User Inputs</div></h4>", unsafe_allow_html=True)
63
 
64
-
65
  # st.markdown(
66
  # f"""
67
- # <div style="text-align: center; background-image: url('https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/B1.jpg'); background-size: cover; padding: 20px;">
68
- # <div style="display: flex; justify-content: space-between; align-items: center;">
69
- # <img src="https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/ISRO_Logo.png" style="width: 20%; margin-right: auto;">
70
- # <img src="https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/SAC_Logo.png" style="width: 20%; margin-left: auto;">
71
- # </div>
72
- # <div style="text-align: center; padding: 20px;">
 
 
73
  # <h1 style="display: inline-block; margin: 0;">
74
  # BHOOMI
75
  # </h1>
@@ -81,27 +84,6 @@ m = st.markdown(
81
  # unsafe_allow_html=True,
82
  # )
83
 
84
- st.markdown(
85
- f"""
86
- <div style="position: relative; text-align: center; padding: 20px;">
87
- <div style="background-image: url('https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/B1.jpg'); background-size: cover; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;"></div>
88
- <div style="background-color: rgba(255, 255, 255, 0.2); position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2;"></div>
89
- <div style="position: relative; z-index: 3;">
90
- <div style="display: flex; justify-content: space-between; align-items: center;">
91
- <img src="https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/ISRO_Logo.png" style="width: 20%; margin-right: auto;">
92
- <img src="https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/SAC_Logo.png" style="width: 20%; margin-left: auto;">
93
- </div>
94
- <h1 style="display: inline-block; margin: 0;">
95
- BHOOMI
96
- </h1>
97
- <h3 style="margin: 0;">(Bandwise Harmonization & Optimized Output for multispectral integration)</h3>
98
- </div>
99
- </div>
100
- <hr>
101
- """,
102
- unsafe_allow_html=True,
103
- )
104
-
105
  st.markdown(
106
  f"""
107
  <h4 style="text-align: center;">User Inputs</h4>
 
26
  unsafe_allow_html=True,
27
  )
28
 
29
+ # Logo
30
+ st.write(
31
+ f"""
32
+ <div style="display: flex; justify-content: space-between; align-items: center;">
33
+ <img src="https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/ISRO_Logo.png" style="width: 20%; margin-right: auto;">
34
+ <img src="https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/SAC_Logo.png" style="width: 20%; margin-left: auto;">
35
+ </div>
36
+ """,
37
+ unsafe_allow_html=True,
38
+ )
39
 
40
  # Title
41
+ st.markdown(
42
+ f"""
43
+ <div style="display: flex; justify-content: space-between; align-items: center;">
44
+ <img src="https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/BHOOMI_1.png" style="width: 20%;">
45
+ </div>
46
+ <h3 style="text-align: center;">(Bandwise Harmonization & Optimized Output for multispectral integration)</h3>
47
+ <hr>
48
+ """,
49
+ unsafe_allow_html=True,
50
+ )
51
  # st.markdown(
52
  # f"""
53
  # <div style="text-align: center; background-image: url('https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/B1.jpg'); background-size: cover; padding: 20px;">
 
63
  # )
64
  # st.write("<h4><div style='text-align: center;'>User Inputs</div></h4>", unsafe_allow_html=True)
65
 
 
66
  # st.markdown(
67
  # f"""
68
+ # <div style="position: relative; text-align: center; padding: 20px;">
69
+ # <div style="background-image: url('https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/B1.jpg'); background-size: cover; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;"></div>
70
+ # <div style="background-color: rgba(255, 255, 255, 0.2); position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2;"></div>
71
+ # <div style="position: relative; z-index: 3;">
72
+ # <div style="display: flex; justify-content: space-between; align-items: center;">
73
+ # <img src="https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/ISRO_Logo.png" style="width: 20%; margin-right: auto;">
74
+ # <img src="https://huggingface.co/spaces/YashMK89/GEE_Calculator/resolve/main/SAC_Logo.png" style="width: 20%; margin-left: auto;">
75
+ # </div>
76
  # <h1 style="display: inline-block; margin: 0;">
77
  # BHOOMI
78
  # </h1>
 
84
  # unsafe_allow_html=True,
85
  # )
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  st.markdown(
88
  f"""
89
  <h4 style="text-align: center;">User Inputs</h4>