Update app/streamlit_app.py
Browse files- 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 |
-
|
| 1617 |
-
|
| 1618 |
|
| 1619 |
-
with col2:
|
| 1620 |
-
|
| 1621 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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")
|