Spaces:
Sleeping
Sleeping
DrishtiSharma
commited on
Update app3.py
Browse files
app3.py
CHANGED
@@ -49,7 +49,7 @@ def load_dataset_into_session():
|
|
49 |
# Option 1: Load dataset from the repo directory
|
50 |
if input_option == "Use Repo Directory Dataset":
|
51 |
file_path = "./source/test.csv"
|
52 |
-
if st.button("Load
|
53 |
try:
|
54 |
st.session_state.df = pd.read_csv(file_path)
|
55 |
st.success(f"File loaded successfully from '{file_path}'!")
|
|
|
49 |
# Option 1: Load dataset from the repo directory
|
50 |
if input_option == "Use Repo Directory Dataset":
|
51 |
file_path = "./source/test.csv"
|
52 |
+
if st.button("Load Dataset"):
|
53 |
try:
|
54 |
st.session_state.df = pd.read_csv(file_path)
|
55 |
st.success(f"File loaded successfully from '{file_path}'!")
|