diff --git a/app.py b/app.py index 5e58720..d2c9cec 100644 --- a/app.py +++ b/app.py @@ -504,10 +504,6 @@ on_click=change_frame, args=(-1,), ) - # if st.button("◀", key=f"prev_{case_id}"): - # if frame_idx > 0: - # st.session_state[frame_key] = frame_idx - 1 - # st.rerun() with col3: st.button( "▶", @@ -515,10 +511,6 @@ on_click=change_frame, args=(1,), ) - # if st.button("▶", key=f"next_{case_id}", disabled=frame_idx >= len(images) - 1): - # if frame_idx < len(images) - 1: - # st.session_state[frame_key] = frame_idx + 1 - # st.rerun() except Exception as e: container.error(f"画像読み込みエラー: {e}")