ArunK-2003 commited on
Commit
8cce281
·
verified ·
1 Parent(s): 37ea3d1

Updated app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -475,7 +475,6 @@ else:
475
  st.rerun()
476
 
477
  with st.sidebar:
478
-
479
  speaker_names = list(speaker_data.keys())
480
  talk_time_percentages = [data["talktime_percentage"] for data in speaker_data.values()]
481
 
@@ -493,7 +492,6 @@ else:
493
  """, unsafe_allow_html=True)
494
 
495
  st.title("Chat Conversation")
496
-
497
  with st.expander("Click to view the chat conversation", expanded=False):
498
  chat_conversation = ""
499
  for index, entry in enumerate(meeting_data):
@@ -530,11 +528,10 @@ else:
530
  st.plotly_chart(fig)
531
 
532
  st.markdown("### Sentiment Analysis of the Meeting")
533
-
534
  fig = go.Figure()
535
  fig.add_trace(go.Scatter(x=list(range(len(smoothed_polarity))), y=smoothed_polarity, mode='lines', name='Sentiment', line=dict(color='blue')))
536
  fig.update_layout(
537
  xaxis=dict(title="Time (in seconds)"),
538
  yaxis=dict(title="Sentiment Score", range=[-1, 1]),
539
  )
540
- st.plotly_chart(fig)
 
475
  st.rerun()
476
 
477
  with st.sidebar:
 
478
  speaker_names = list(speaker_data.keys())
479
  talk_time_percentages = [data["talktime_percentage"] for data in speaker_data.values()]
480
 
 
492
  """, unsafe_allow_html=True)
493
 
494
  st.title("Chat Conversation")
 
495
  with st.expander("Click to view the chat conversation", expanded=False):
496
  chat_conversation = ""
497
  for index, entry in enumerate(meeting_data):
 
528
  st.plotly_chart(fig)
529
 
530
  st.markdown("### Sentiment Analysis of the Meeting")
 
531
  fig = go.Figure()
532
  fig.add_trace(go.Scatter(x=list(range(len(smoothed_polarity))), y=smoothed_polarity, mode='lines', name='Sentiment', line=dict(color='blue')))
533
  fig.update_layout(
534
  xaxis=dict(title="Time (in seconds)"),
535
  yaxis=dict(title="Sentiment Score", range=[-1, 1]),
536
  )
537
+ st.plotly_chart(fig)