Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,9 @@ from modules.visuals import display_dashboard, display_charts, display_map_heatm
|
|
| 5 |
from modules.scheduler import get_latest_data
|
| 6 |
from datetime import datetime
|
| 7 |
|
|
|
|
|
|
|
|
|
|
| 8 |
# Inject CSS for blinking red dots
|
| 9 |
st.markdown("""
|
| 10 |
<style>
|
|
@@ -19,7 +22,6 @@ st.markdown("""
|
|
| 19 |
</style>
|
| 20 |
""", unsafe_allow_html=True)
|
| 21 |
|
| 22 |
-
st.set_page_config(page_title="Vedavathi Smart Pole Monitoring", layout="wide")
|
| 23 |
st.title("📡 Vedavathi Smart Pole Monitoring - PoC Simulator")
|
| 24 |
|
| 25 |
st.sidebar.header("🛠️ Simulation Controls")
|
|
|
|
| 5 |
from modules.scheduler import get_latest_data
|
| 6 |
from datetime import datetime
|
| 7 |
|
| 8 |
+
# Set page config as the first Streamlit command
|
| 9 |
+
st.set_page_config(page_title="Vedavathi Smart Pole Monitoring", layout="wide")
|
| 10 |
+
|
| 11 |
# Inject CSS for blinking red dots
|
| 12 |
st.markdown("""
|
| 13 |
<style>
|
|
|
|
| 22 |
</style>
|
| 23 |
""", unsafe_allow_html=True)
|
| 24 |
|
|
|
|
| 25 |
st.title("📡 Vedavathi Smart Pole Monitoring - PoC Simulator")
|
| 26 |
|
| 27 |
st.sidebar.header("🛠️ Simulation Controls")
|