Update app.py
Browse files
app.py
CHANGED
@@ -229,7 +229,12 @@ if st.session_state['chat_logs']:
|
|
229 |
)
|
230 |
|
231 |
# κ·Έλν μΆλ ₯
|
232 |
-
st.plotly_chart(fig, use_container_width=True)
|
|
|
|
|
|
|
|
|
|
|
233 |
|
234 |
# μ νλ μκ°λ νμ
|
235 |
display_selected_times()
|
|
|
229 |
)
|
230 |
|
231 |
# κ·Έλν μΆλ ₯
|
232 |
+
clicked_time = st.plotly_chart(fig, use_container_width=True)
|
233 |
+
|
234 |
+
# ν΄λ¦ν μκ°λ μ μ₯
|
235 |
+
if clicked_time and 'points' in clicked_time:
|
236 |
+
selected_time = clicked_time['points'][0]['x']
|
237 |
+
add_selected_time(selected_time)
|
238 |
|
239 |
# μ νλ μκ°λ νμ
|
240 |
display_selected_times()
|