ankush-003 commited on
Commit
4a789b3
β€’
1 Parent(s): 21d218d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -134,12 +134,6 @@ def get_latest_alert():
134
  global latest_alert, alert_count
135
  return latest_alert, f"Total Alerts: {alert_count}", create_alert_plot()
136
 
137
- # gradio interface
138
- # Gradio interface
139
- def get_latest_alert():
140
- global latest_alert, alert_count
141
- return latest_alert, f"Total Alerts: {alert_count}"
142
-
143
  with gr.Blocks(theme=gr.themes.Soft()) as app:
144
  gr.Markdown("# 🚨 Alert Dashboard 🚨")
145
 
 
134
  global latest_alert, alert_count
135
  return latest_alert, f"Total Alerts: {alert_count}", create_alert_plot()
136
 
 
 
 
 
 
 
137
  with gr.Blocks(theme=gr.themes.Soft()) as app:
138
  gr.Markdown("# 🚨 Alert Dashboard 🚨")
139