Spaces:
Sleeping
Sleeping
ankush-003
commited on
Commit
β’
4a789b3
1
Parent(s):
21d218d
Update app.py
Browse files
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 |
|