Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Update pages/Admin.py
Browse files- pages/Admin.py +1 -17
pages/Admin.py
CHANGED
|
@@ -126,23 +126,7 @@ if authentication_status:
|
|
| 126 |
st.stop()
|
| 127 |
|
| 128 |
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
# --- Connection Test
|
| 132 |
-
st.markdown("Connection Status")
|
| 133 |
-
col1, col2 = st.columns(2)
|
| 134 |
-
|
| 135 |
-
with col1:
|
| 136 |
-
if st.button("Test HuggingFace Connection", use_container_width=True):
|
| 137 |
-
ok, msg = test_hf_connection()
|
| 138 |
-
(st.success if ok else st.error)(msg)
|
| 139 |
-
|
| 140 |
-
with col2:
|
| 141 |
-
repo = get_secret("dataset_repo", "NOT SET")
|
| 142 |
-
st.info(f"Dataset: {repo}")
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
st.markdown("---")
|
| 146 |
|
| 147 |
# --- Full Data Update Section
|
| 148 |
st.subheader("Full Data Update")
|
|
|
|
| 126 |
st.stop()
|
| 127 |
|
| 128 |
|
| 129 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
|
| 131 |
# --- Full Data Update Section
|
| 132 |
st.subheader("Full Data Update")
|