ZainMalik0925 commited on
Commit
01f8a8c
·
verified ·
1 Parent(s): 2587cb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -0
app.py CHANGED
@@ -1,3 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
  import pandas as pd
3
  import plotly.express as px
 
1
+ import streamlit as st
2
+
3
+ # Set page configurations
4
+ st.set_page_config(page_title="GreenLens-AI", layout="wide")
5
+
6
+ # Add custom CSS for the background image
7
+ def set_background():
8
+ st.markdown(
9
+ f"""
10
+ <style>
11
+ .stApp {{
12
+ background: url("https://drive.google.com/uc?id=1UTGAcHDwFs-JFjG163FTOhusLf1sDMK3");
13
+ background-size: cover;
14
+ background-position: center;
15
+ background-attachment: fixed;
16
+ }}
17
+ </style>
18
+ """,
19
+ unsafe_allow_html=True
20
+ )
21
+
22
+ # Set the background
23
+ set_background()
24
+
25
  import streamlit as st
26
  import pandas as pd
27
  import plotly.express as px