DSatishchandra commited on
Commit
19c95e5
·
verified ·
1 Parent(s): a5a5e88

Create alerts.py

Browse files
Files changed (1) hide show
  1. modules/alerts.py +5 -0
modules/alerts.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ def display_alerts(faults):
4
+ for fault in faults:
5
+ st.warning(f"ALERT: {fault}")