Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,10 @@ st.subheader("📋 Pole Monitoring Table")
|
|
26 |
st.dataframe(filtered_df, use_container_width=True)
|
27 |
|
28 |
# Display fault alerts if needed
|
29 |
-
fault_x
|
|
|
|
|
30 |
if "Red" in alert_filter:
|
31 |
display_fault_alert(fault_x, fault_y)
|
32 |
|
|
|
|
26 |
st.dataframe(filtered_df, use_container_width=True)
|
27 |
|
28 |
# Display fault alerts if needed
|
29 |
+
fault_x = np.random.randint(0, 10) # Simulate random fault position for x
|
30 |
+
fault_y = np.random.randint(0, 10) # Simulate random fault position for y
|
31 |
+
|
32 |
if "Red" in alert_filter:
|
33 |
display_fault_alert(fault_x, fault_y)
|
34 |
|
35 |
+
|