duongthienz commited on
Commit
a07b102
·
verified ·
1 Parent(s): 29f76a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -704,6 +704,7 @@ try:
704
  printV("Pie1 post plotly",4)
705
 
706
  with pie2:
 
707
  df4 = st.session_state.summaries[currFileIndex]["df4"].copy()
708
 
709
  # Some speakers may be missing, so fix colors
@@ -719,7 +720,9 @@ try:
719
  plot_bgcolor='rgba(0, 0, 0, 0)',
720
  paper_bgcolor='rgba(0, 0, 0, 0)',
721
  )
 
722
  fig2.add_trace(go.Pie(values=df4["values"],labels=df4["names"],sort=False))
 
723
  st.plotly_chart(fig2, use_container_width=True, config=config)
724
  col2_1, col2_2 = st.columns(2)
725
  try:
 
704
  printV("Pie1 post plotly",4)
705
 
706
  with pie2:
707
+ printV("In Pie2",4)
708
  df4 = st.session_state.summaries[currFileIndex]["df4"].copy()
709
 
710
  # Some speakers may be missing, so fix colors
 
720
  plot_bgcolor='rgba(0, 0, 0, 0)',
721
  paper_bgcolor='rgba(0, 0, 0, 0)',
722
  )
723
+ printV("Pie2 Pretrace",4)
724
  fig2.add_trace(go.Pie(values=df4["values"],labels=df4["names"],sort=False))
725
+ printV("Pie2 Posttrace",4)
726
  st.plotly_chart(fig2, use_container_width=True, config=config)
727
  col2_1, col2_2 = st.columns(2)
728
  try: