Spaces:
Sleeping
Sleeping
Update ui.py
Browse files
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="
|
| 407 |
fig6.update_layout(yaxis_title="% of File Duration")
|
| 408 |
st.plotly_chart(fig6, use_container_width=True, config=cfg)
|
| 409 |
-
st.
|
| 410 |
-
"
|
| 411 |
-
"
|
|
|
|
|
|
|
| 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():
|