Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1059,7 +1059,7 @@ try:
|
|
| 1059 |
except ImportError:
|
| 1060 |
WORDCLOUD_AVAILABLE = False
|
| 1061 |
|
| 1062 |
-
st.markdown("<h3 class='section-title'>4
|
| 1063 |
unsafe_allow_html=True)
|
| 1064 |
|
| 1065 |
if WORDCLOUD_AVAILABLE:
|
|
@@ -1250,7 +1250,8 @@ try:
|
|
| 1250 |
# ============================
|
| 1251 |
# 9. Summary Table
|
| 1252 |
# ============================
|
| 1253 |
-
st.
|
|
|
|
| 1254 |
st.dataframe(
|
| 1255 |
risk_matrix.sort_values("Finding Count", ascending=False),
|
| 1256 |
use_container_width=True
|
|
@@ -1585,7 +1586,7 @@ st.markdown("</div>", unsafe_allow_html=True)
|
|
| 1585 |
st.markdown("<div class='predictive-panel'>", unsafe_allow_html=True)
|
| 1586 |
st.markdown(
|
| 1587 |
"<div class='predictive-header'>"
|
| 1588 |
-
"
|
| 1589 |
"<span style='font-size:0.75em; font-weight:400; color:#003DA5;'>"
|
| 1590 |
" (* Categorization uses NLP — Natural Language Processing from random text)"
|
| 1591 |
"</span>"
|
|
|
|
| 1059 |
except ImportError:
|
| 1060 |
WORDCLOUD_AVAILABLE = False
|
| 1061 |
|
| 1062 |
+
st.markdown("<h3 class='section-title'>OBJECTIVE 4 - What Unsafe Issues Appear Most Often?</h3>",
|
| 1063 |
unsafe_allow_html=True)
|
| 1064 |
|
| 1065 |
if WORDCLOUD_AVAILABLE:
|
|
|
|
| 1250 |
# ============================
|
| 1251 |
# 9. Summary Table
|
| 1252 |
# ============================
|
| 1253 |
+
st.markdown("<h3 style='font-size:12px; margin-bottom:6px;'>Summary (Avg Monthly Count vs Avg Lead Time)</h3>",unsafe_allow_html=True)
|
| 1254 |
+
|
| 1255 |
st.dataframe(
|
| 1256 |
risk_matrix.sort_values("Finding Count", ascending=False),
|
| 1257 |
use_container_width=True
|
|
|
|
| 1586 |
st.markdown("<div class='predictive-panel'>", unsafe_allow_html=True)
|
| 1587 |
st.markdown(
|
| 1588 |
"<div class='predictive-header'>"
|
| 1589 |
+
"2. Which Issue Categories Are Likely to Appear in the Next 3 Months (Non Positive Only)"
|
| 1590 |
"<span style='font-size:0.75em; font-weight:400; color:#003DA5;'>"
|
| 1591 |
" (* Categorization uses NLP — Natural Language Processing from random text)"
|
| 1592 |
"</span>"
|