asmithaaa commited on
Commit
0a715b9
·
verified ·
1 Parent(s): a776468

Delete pages/4_Admin_Panel.py

Browse files
Files changed (1) hide show
  1. pages/4_Admin_Panel.py +0 -19
pages/4_Admin_Panel.py DELETED
@@ -1,19 +0,0 @@
1
- import streamlit as st
2
- import pandas as pd
3
-
4
- st.title("Administrative Panel")
5
- st.warning("Restricted Access Authorized Users Only")
6
-
7
- uploaded_file = st.file_uploader(
8
- "Upload New Loan Dataset (CSV)",
9
- type=["csv"]
10
- )
11
-
12
- if uploaded_file:
13
- df = pd.read_csv(uploaded_file)
14
- st.success("Dataset uploaded successfully")
15
- st.dataframe(df.head())
16
-
17
- if st.button("Persist Dataset"):
18
- df.to_csv("data/loan_applications.csv", index=False)
19
- st.success("Dataset saved and ready for retraining")