Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -125,8 +125,8 @@ if submit:
|
|
| 125 |
# SAVE RECORDS SECTION
|
| 126 |
# -----------------------------
|
| 127 |
if st.button("Save Record"):
|
| 128 |
-
|
| 129 |
-
|
| 130 |
|
| 131 |
# If file exists → append
|
| 132 |
if os.path.exists(file_path):
|
|
|
|
| 125 |
# SAVE RECORDS SECTION
|
| 126 |
# -----------------------------
|
| 127 |
if st.button("Save Record"):
|
| 128 |
+
if "input_df" in st.session_state:
|
| 129 |
+
file_path = "records.csv"
|
| 130 |
|
| 131 |
# If file exists → append
|
| 132 |
if os.path.exists(file_path):
|