Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 282 |
else:
|
| 283 |
-
|
|
|
|
|
|
|
|
|
|
| 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):
|