Ahmedik95316 commited on
Commit
a9a2d0e
Β·
verified Β·
1 Parent(s): 13addaa

Update app/streamlit_app.py

Browse files
Files changed (1) hide show
  1. app/streamlit_app.py +13 -7
app/streamlit_app.py CHANGED
@@ -1611,14 +1611,20 @@ def render_system_status():
1611
  # Add reinitialization section
1612
  st.subheader("πŸ”„ System Reinitialization")
1613
 
1614
- col1, col2 = st.columns([3, 1])
1615
- with col1:
1616
- st.write("Force system reinitialization with ensemble training")
1617
- st.caption("⚠️ This process takes 2-3 minutes and will replace the current model")
1618
 
1619
- with col2:
1620
- if st.button("πŸš€ Force Reinitialize", type="primary"):
1621
- reinitialize_system()
 
 
 
 
 
 
1622
 
1623
  # Environment Information
1624
  st.subheader("🌍 Environment Information")
 
1611
  # Add reinitialization section
1612
  st.subheader("πŸ”„ System Reinitialization")
1613
 
1614
+ # col1, col2 = st.columns([3, 1])
1615
+ # with col1:
1616
+ # st.write("Force system reinitialization with ensemble training")
1617
+ # st.caption("⚠️ This process takes 2-3 minutes and will replace the current model")
1618
 
1619
+ # with col2:
1620
+ # if st.button("πŸš€ Force Reinitialize", type="primary"):
1621
+ # reinitialize_system()
1622
+
1623
+ st.write("Force system reinitialization with ensemble training")
1624
+ st.caption("⚠️ This process takes 2-3 minutes and will replace the current model")
1625
+
1626
+ if st.button("πŸš€ Force Reinitialize", type="primary"):
1627
+ reinitialize_system()
1628
 
1629
  # Environment Information
1630
  st.subheader("🌍 Environment Information")