athottam commited on
Commit
b3fdbe3
·
verified ·
1 Parent(s): 773642f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -268,7 +268,7 @@ def agent_LA(query):
268
 
269
  results = main_LogAnalyzer(queries)
270
  # Format the results dictionary into a markdown string
271
- markdown_output = ""
272
  for query, answer in results.items():
273
  markdown_out += f"## Query: {query}\n\n"
274
  markdown_out += f"{answer}\n\n---\n\n" # Add separator between results
@@ -277,6 +277,7 @@ def agent_LA(query):
277
 
278
  HP = Health()
279
  HP.HealthInspector(results,queries[-1])
 
280
  if HP.health == "Critical":
281
  health_result = "ALERTTTTTTTTTTT"
282
  else:
 
268
 
269
  results = main_LogAnalyzer(queries)
270
  # Format the results dictionary into a markdown string
271
+ markdown_out = ""
272
  for query, answer in results.items():
273
  markdown_out += f"## Query: {query}\n\n"
274
  markdown_out += f"{answer}\n\n---\n\n" # Add separator between results
 
277
 
278
  HP = Health()
279
  HP.HealthInspector(results,queries[-1])
280
+ health_result = ""
281
  if HP.health == "Critical":
282
  health_result = "ALERTTTTTTTTTTT"
283
  else: