ramanna commited on
Commit
ed013a5
·
verified ·
1 Parent(s): 8d196c4

Update pages/Admin.py

Browse files
Files changed (1) hide show
  1. pages/Admin.py +1 -17
pages/Admin.py CHANGED
@@ -126,23 +126,7 @@ if authentication_status:
126
  st.stop()
127
 
128
 
129
- from huggingface_upload import upload_to_huggingface, test_hf_connection
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")