Sanjayraju30 commited on
Commit
0972b55
·
verified ·
1 Parent(s): a4a782c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ with st.spinner(f"Simulating poles at {selected_site}..."):
89
  time.sleep(2)
90
  col1, col2, col3 = st.columns(3)
91
  col1.metric("Total Poles", site_df.shape[0])
92
- col2.metric("Red Alerts", site_df[site_dfsite_df[site_df['AlertLevel'] == 'Red'].shape[0])
93
  col3.metric("Power Insufficiencies", site_df[site_df['Power Status'] == 'Insufficient'].shape[0])
94
 
95
  # Table View
 
89
  time.sleep(2)
90
  col1, col2, col3 = st.columns(3)
91
  col1.metric("Total Poles", site_df.shape[0])
92
+ col2.metric("Red Alerts", site_df[site_df['AlertLevel'] == 'Red'].shape[0])
93
  col3.metric("Power Insufficiencies", site_df[site_df['Power Status'] == 'Insufficient'].shape[0])
94
 
95
  # Table View