w3robotics commited on
Commit
929a122
·
verified ·
1 Parent(s): edfc762

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def delete_file():
28
  # Confirm User Wants to do this
29
  file_details = {"Confirm deletion of ":file_name}
30
  st.write(file_details)
31
- if st.button(os.path.join(path,file_name)):
32
  os.remove(os.path.join(path,file_name))
33
  st.rerun()
34
  if st.button("No"):
 
28
  # Confirm User Wants to do this
29
  file_details = {"Confirm deletion of ":file_name}
30
  st.write(file_details)
31
+ if st.button("Yes"):
32
  os.remove(os.path.join(path,file_name))
33
  st.rerun()
34
  if st.button("No"):