Zeel commited on
Commit
4e55bc5
·
1 Parent(s): 31f6634

add credits

Browse files
Files changed (1) hide show
  1. app.py +20 -20
app.py CHANGED
@@ -251,23 +251,23 @@ if isinstance(file_url, str):
251
  """,
252
  unsafe_allow_html=True,
253
  )
254
- # else:
255
- # st.markdown(
256
- # f"""
257
- # <div style="display: flex; justify-content: center;">
258
- # <button style="
259
- # background-color: #FF0000; /* Green background */
260
- # color: white; /* White text */
261
- # padding: 10px 20px;
262
- # font-size: 16px;
263
- # border: none;
264
- # border-radius: 5px;
265
- # cursor: pointer;
266
- # ">
267
- # Click for NDVI Timeseries (This button will be enabled when you provide a file via `?file_url=`)
268
- # </button>
269
- # </a>
270
- # </div>
271
- # """,
272
- # unsafe_allow_html=True,
273
- # )
 
251
  """,
252
  unsafe_allow_html=True,
253
  )
254
+
255
+ # Add some space in the end
256
+ st.write(
257
+ """
258
+ <style>
259
+ div.stButton > button {
260
+ margin: 10px;
261
+ }
262
+ </style>
263
+ """,
264
+ unsafe_allow_html=True,
265
+ )
266
+
267
+ # Add credits
268
+ st.write(
269
+ """
270
+ <div style="display: flex; justify-content: center; align-items: center;">
271
+ <p style="text-align: left;">This tool is developed by <a href="https://sustainability-lab.github.io/">Sustainability Lab</a>, <a href="https://www.iitgn.ac.in/">IIT Gandhinagar</a> and supported by <a href="https://forests.gujarat.gov.in/">Gujarat Forest Department</a></p>""",
272
+ unsafe_allow_html=True,
273
+ )