Spaces:
Sleeping
Sleeping
Update app/dashboard.py
Browse files- app/dashboard.py +1 -1
app/dashboard.py
CHANGED
|
@@ -135,7 +135,7 @@ with tab2:
|
|
| 135 |
status_w3 = res_w3.get("status", "UNKNOWN")
|
| 136 |
if status_w3 == "SAFE": st.success(f"✅ STATUS: {status_w3}")
|
| 137 |
elif status_w3 == "DANGER": st.error(f"🚨 STATUS: {status_w3}")
|
| 138 |
-
|
| 139 |
vulns = res_w3.get("vulnerabilities", [])
|
| 140 |
if vulns:
|
| 141 |
for v in vulns: st.error(f"**{v['description']}**")
|
|
|
|
| 135 |
status_w3 = res_w3.get("status", "UNKNOWN")
|
| 136 |
if status_w3 == "SAFE": st.success(f"✅ STATUS: {status_w3}")
|
| 137 |
elif status_w3 == "DANGER": st.error(f"🚨 STATUS: {status_w3}")
|
| 138 |
+
|
| 139 |
vulns = res_w3.get("vulnerabilities", [])
|
| 140 |
if vulns:
|
| 141 |
for v in vulns: st.error(f"**{v['description']}**")
|