Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
| 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"):
|