Claude commited on
Commit
3473dfa
·
unverified ·
1 Parent(s): c042632

Fix: 찬반 토론/자유 토의 모두 '의견 유형 분포 그래프'로 통일

Browse files

https://claude.ai/code/session_01VubVHht1kvabfdfFR1weKs

Files changed (1) hide show
  1. components/chat_board.py +1 -2
components/chat_board.py CHANGED
@@ -17,8 +17,7 @@ def _live_chat_board_core(supabase, room_name, user_role, teacher_auth, student_
17
  if not stats_opinion_df.empty:
18
  left_col, right_col = st.columns(2)
19
  with left_col:
20
- chart_caption = "감정 분포 그래프" if current_mode == "⚔️ 찬반 토론" else "의견 유형 분포 그래프"
21
- st.caption(chart_caption)
22
  live_pie_fig = px.pie(stats_opinion_df, names="sentiment", hole=0.4, height=320)
23
  live_pie_fig.update_layout(font={"family": UI_FONT_FAMILY})
24
  st.plotly_chart(live_pie_fig, use_container_width=True, config={'displayModeBar': False, 'scrollZoom': False})
 
17
  if not stats_opinion_df.empty:
18
  left_col, right_col = st.columns(2)
19
  with left_col:
20
+ st.caption("의견 유형 분포 그래프")
 
21
  live_pie_fig = px.pie(stats_opinion_df, names="sentiment", hole=0.4, height=320)
22
  live_pie_fig.update_layout(font={"family": UI_FONT_FAMILY})
23
  st.plotly_chart(live_pie_fig, use_container_width=True, config={'displayModeBar': False, 'scrollZoom': False})