Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -235,9 +235,15 @@ with tab1:
|
|
| 235 |
st.markdown("<div class='metric-label'>Primary Detection</div>", unsafe_allow_html=True)
|
| 236 |
|
| 237 |
with col2:
|
| 238 |
-
st.markdown(
|
| 239 |
-
|
| 240 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 241 |
|
| 242 |
# Confidence scores visualization
|
| 243 |
st.markdown("<h3 class='sub-header'>Confidence Analysis</h3>", unsafe_allow_html=True)
|
|
|
|
| 235 |
st.markdown("<div class='metric-label'>Primary Detection</div>", unsafe_allow_html=True)
|
| 236 |
|
| 237 |
with col2:
|
| 238 |
+
st.markdown(
|
| 239 |
+
f"""
|
| 240 |
+
<div style='background-color:{mental_state['color']}20; padding:15px; border-radius:10px; border-left:5px solid {mental_state['color']}'>
|
| 241 |
+
<b>{mental_state['name']}</b>: {mental_state['description']}
|
| 242 |
+
</div>
|
| 243 |
+
""",
|
| 244 |
+
unsafe_allow_html=True
|
| 245 |
+
)
|
| 246 |
+
|
| 247 |
|
| 248 |
# Confidence scores visualization
|
| 249 |
st.markdown("<h3 class='sub-header'>Confidence Analysis</h3>", unsafe_allow_html=True)
|