Update app.py
Browse files
app.py
CHANGED
@@ -35,8 +35,8 @@ with gr.Blocks(title="Log Intelligence Assistant") as demo:
|
|
35 |
|
36 |
with gr.Tab("Outputs 🔼"):
|
37 |
analysis_result = gr.Textbox(label="Analysis Results", lines=10, interactive=False)
|
38 |
-
bar_plot = gr.
|
39 |
-
pie_chart = gr.
|
40 |
alert_feed = gr.HighlightedText(label="Security Alerts", color_map={
|
41 |
"CRITICAL": "red",
|
42 |
"WARNING": "orange",
|
|
|
35 |
|
36 |
with gr.Tab("Outputs 🔼"):
|
37 |
analysis_result = gr.Textbox(label="Analysis Results", lines=10, interactive=False)
|
38 |
+
bar_plot = gr.Plot(label="Event Frequency by Hour")
|
39 |
+
pie_chart = gr.Plot(label="Event Type Distribution")
|
40 |
alert_feed = gr.HighlightedText(label="Security Alerts", color_map={
|
41 |
"CRITICAL": "red",
|
42 |
"WARNING": "orange",
|