ankush-003
commited on
Commit
•
3cf688e
1
Parent(s):
6225d46
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ with gr.Blocks() as app:
|
|
114 |
latest_alert_box = gr.Textbox(label="Latest Alert", lines=3, interactive=False)
|
115 |
alert_count_box = gr.Textbox(label="Alert Count", interactive=False)
|
116 |
|
117 |
-
refresh_button = gr.Button("Refresh")
|
118 |
|
119 |
refresh_button.click(get_latest_alert, inputs=None, outputs=[latest_alert_box, alert_count_box])
|
120 |
|
|
|
114 |
latest_alert_box = gr.Textbox(label="Latest Alert", lines=3, interactive=False)
|
115 |
alert_count_box = gr.Textbox(label="Alert Count", interactive=False)
|
116 |
|
117 |
+
refresh_button = gr.Button("Refresh", variant="primary")
|
118 |
|
119 |
refresh_button.click(get_latest_alert, inputs=None, outputs=[latest_alert_box, alert_count_box])
|
120 |
|