Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def delete_file():
|
|
26 |
for file_name in file_names:
|
27 |
if st.button(file_name):
|
28 |
# Delete the file
|
29 |
-
os.remove(os.path.join(path,
|
30 |
st.rerun()
|
31 |
|
32 |
# File View
|
|
|
26 |
for file_name in file_names:
|
27 |
if st.button(file_name):
|
28 |
# Delete the file
|
29 |
+
os.remove(os.path.join(path,file_name))
|
30 |
st.rerun()
|
31 |
|
32 |
# File View
|