feat(motion_app): improve comparison loop and UI

This commit is contained in:
game-loader
2025-06-22 12:11:30 +08:00
parent 899c85ab8f
commit 53979d9501
2 changed files with 117 additions and 256 deletions

View File

@@ -190,7 +190,6 @@ def main():
app.start_comparison(video_path)
# 比较结束后,重置状态,以便下次可以重新显示主按钮
st.session_state.start_main_comparison = False
st.rerun() # 强制重跑以显示主按钮界面
except Exception as e:
st.error(f"❌ 处理视频时出现错误: {str(e)}")