DSatishchandra commited on
Commit
9d6901c
·
verified ·
1 Parent(s): 3df74f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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, fault_y = np.random.randint(0, 10), np.random.randint(0, 10) # Simulate random fault position
 
 
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
+