Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,11 @@ def get_aqi_data():
|
|
38 |
return aqi, level, temp, pm25, pm10
|
39 |
|
40 |
def main():
|
41 |
-
|
|
|
|
|
|
|
|
|
42 |
st.subheader('Real-time Air Quality Monitoring')
|
43 |
|
44 |
aqi, level, temp, pm25, pm10 = get_aqi_data()
|
@@ -59,5 +63,11 @@ def main():
|
|
59 |
if st.button('Show Temperature'):
|
60 |
st.write(f"**Temperature:** {temp}˚C")
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
if __name__ == '__main__':
|
63 |
main()
|
|
|
38 |
return aqi, level, temp, pm25, pm10
|
39 |
|
40 |
def main():
|
41 |
+
# Logo
|
42 |
+
logo = 'your_logo.png'
|
43 |
+
st.image(logo, width=200)
|
44 |
+
|
45 |
+
st.title('Real Time SXR AQI Dashboard')
|
46 |
st.subheader('Real-time Air Quality Monitoring')
|
47 |
|
48 |
aqi, level, temp, pm25, pm10 = get_aqi_data()
|
|
|
63 |
if st.button('Show Temperature'):
|
64 |
st.write(f"**Temperature:** {temp}˚C")
|
65 |
|
66 |
+
# Credentials
|
67 |
+
st.markdown('### Developer:')
|
68 |
+
st.text('Adil Aziz')
|
69 |
+
st.text('Data Scientist')
|
70 |
+
st.text('adilaziz2013@gmail.com')
|
71 |
+
|
72 |
if __name__ == '__main__':
|
73 |
main()
|