Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,13 +25,9 @@ def delete_file():
|
|
25 |
for root, dirs, file_names in os.walk(path):
|
26 |
for file_name in file_names:
|
27 |
if st.button(file_name):
|
28 |
-
|
29 |
-
|
30 |
-
st.
|
31 |
-
if st.button("Yes"):
|
32 |
-
os.remove(os.path.join(path,file_name))
|
33 |
-
st.success("Removed File")
|
34 |
-
st.rerun()
|
35 |
|
36 |
# File View
|
37 |
@st.dialog("Files used by AI")
|
|
|
25 |
for root, dirs, file_names in os.walk(path):
|
26 |
for file_name in file_names:
|
27 |
if st.button(file_name):
|
28 |
+
os.remove(os.path.join(path,file_name))
|
29 |
+
st.success("Removed File")
|
30 |
+
st.rerun()
|
|
|
|
|
|
|
|
|
31 |
|
32 |
# File View
|
33 |
@st.dialog("Files used by AI")
|