sudhirpgcmma02 commited on
Commit
1036d86
·
verified ·
1 Parent(s): d4f524f

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -124,7 +124,7 @@ if submit:
124
  # -----------------------------
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
 
@@ -139,7 +139,6 @@ if submit:
139
  updated_df.to_csv(file_path, index=False)
140
 
141
  st.success("Record saved successfully!")
142
-
143
- else:
144
- st.error("Record not saved...Thank for analysis")
145
 
 
124
  # -----------------------------
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
 
 
139
  updated_df.to_csv(file_path, index=False)
140
 
141
  st.success("Record saved successfully!")
142
+ else:
143
+ st.error("Record not saved...Thank for analysis")
 
144