athottam commited on
Commit
03bd66e
·
verified ·
1 Parent(s): c0f9e22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -273,14 +273,17 @@ def agent_LA(query):
273
  markdown_output += f"## Query: {query}\n\n"
274
  markdown_output += f"{answer}\n\n---\n\n" # Add separator between results
275
 
276
- render_markdown(markdown_output) # Pass the formatted string to render_markdown
277
 
278
  HP = Health()
279
  HP.HealthInspector(results,queries[-1])
280
  if HP.health == "Critical":
281
- print("ALERTTTTTTTTTTT")
282
  else:
283
- print("NO ALERTTTTTTTTTTT")
 
 
 
284
 
285
 
286
  def greet(query):
 
273
  markdown_output += f"## Query: {query}\n\n"
274
  markdown_output += f"{answer}\n\n---\n\n" # Add separator between results
275
 
276
+ #render_markdown(markdown_output) # Pass the formatted string to render_markdown
277
 
278
  HP = Health()
279
  HP.HealthInspector(results,queries[-1])
280
  if HP.health == "Critical":
281
+ health_result = "ALERTTTTTTTTTTT"
282
  else:
283
+ health_result = "NO ALERTTTTTTTTTTT"
284
+
285
+ final_result = markdown_output + health_result
286
+ return final_result
287
 
288
 
289
  def greet(query):