DrSyedFaizan commited on
Commit
01c82e4
·
verified ·
1 Parent(s): 3e4c855

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
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(f"<div style='background-color:{mental_state['color']}20; padding:15px; border-radius:10px; border-left:5px solid {mental_state['color']}'>")
239
- st.markdown(f"<b>{mental_state['name']}</b>: {mental_state['description']}")
240
- st.markdown("</div>", unsafe_allow_html=True)
 
 
 
 
 
 
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)