1234567891011121314151617181920212223242526272829 |
- """IMU放置于人体模型后的motion capture分析,包括离线、在线。读入或在线接入数据进行波形绘制、数据分析及分析结果的人体模型渲染和结果图表"""
- import streamlit as st
- from components.remove_style import hide_footer
- def on_line():
- st.button("在线")
- st.sidebar.success("在线")
- def off_line():
- st.button("离线")
- st.sidebar.success("离线")
- def render():
- st.set_page_config(page_title="test", page_icon=":running:")
- hide_footer()
- st.markdown("# Test")
- on_off_switch = st.toggle("离线/在线")
- if on_off_switch:
- on_line()
- else:
- off_line()
- render()
|