duongthienz commited on
Commit
4102890
·
verified ·
1 Parent(s): 1f18cf5

Update ui.py

Browse files
Files changed (1) hide show
  1. ui.py +6 -4
ui.py CHANGED
@@ -403,12 +403,14 @@ def render_multifile_summary(plotly_config=None):
403
  df7, _ = utils.build_multifile_voice_df(validNames, st.session_state.summaries)
404
 
405
  fig6 = px.bar(df6, x="files", y=allCategories,
406
- title="% of File Duration Spoken by Each Speaker/Role *")
407
  fig6.update_layout(yaxis_title="% of File Duration")
408
  st.plotly_chart(fig6, use_container_width=True, config=cfg)
409
- st.caption(
410
- "*Note: Values are normalized to 100%. Overlaps between speakers "
411
- "of the same role are counted only once."
 
 
412
  )
413
 
414
  with st.container():
 
403
  df7, _ = utils.build_multifile_voice_df(validNames, st.session_state.summaries)
404
 
405
  fig6 = px.bar(df6, x="files", y=allCategories,
406
+ title="Percent of File Duration Spoken by Each Speaker/Role")
407
  fig6.update_layout(yaxis_title="% of File Duration")
408
  st.plotly_chart(fig6, use_container_width=True, config=cfg)
409
+ st.markdown(
410
+ "<p style='font-size:0.875rem; color:black;'>"
411
+ "Note: Values are normalized to 100%. Overlaps between speakers "
412
+ "of the same role are counted only once.</p>",
413
+ unsafe_allow_html=True,
414
  )
415
 
416
  with st.container():