Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import pandas as pd
|
| 3 |
-
import plotly.express as px
|
| 4 |
import pydeck as pdk
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
# Custom CSS for styling
|
| 7 |
st.markdown("""
|
| 8 |
<style>
|
|
@@ -32,9 +34,6 @@ st.markdown("""
|
|
| 32 |
</style>
|
| 33 |
""", unsafe_allow_html=True)
|
| 34 |
|
| 35 |
-
# Set page layout
|
| 36 |
-
st.set_page_config(page_title="Air Quality Dashboard", layout="wide")
|
| 37 |
-
|
| 38 |
# Sidebar - User interaction
|
| 39 |
st.sidebar.header("Air Quality Monitoring")
|
| 40 |
station_list = ["Louisville", "Lexington", "Richmond", "Elizabethtown"]
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import pandas as pd
|
|
|
|
| 3 |
import pydeck as pdk
|
| 4 |
|
| 5 |
+
# Set page layout (must be the first Streamlit command)
|
| 6 |
+
st.set_page_config(page_title="Air Quality Dashboard", layout="wide")
|
| 7 |
+
|
| 8 |
# Custom CSS for styling
|
| 9 |
st.markdown("""
|
| 10 |
<style>
|
|
|
|
| 34 |
</style>
|
| 35 |
""", unsafe_allow_html=True)
|
| 36 |
|
|
|
|
|
|
|
|
|
|
| 37 |
# Sidebar - User interaction
|
| 38 |
st.sidebar.header("Air Quality Monitoring")
|
| 39 |
station_list = ["Louisville", "Lexington", "Richmond", "Elizabethtown"]
|