Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -118,8 +118,8 @@ def main():
|
|
| 118 |
htm_files = glob.glob("*.txt")
|
| 119 |
for file in htm_files:
|
| 120 |
st.sidebar.markdown(get_table_download_link(file), unsafe_allow_html=True)
|
| 121 |
-
|
| 122 |
-
if st.sidebar.button("π Delete"):
|
| 123 |
os.remove(file)
|
| 124 |
st.experimental_rerun()
|
| 125 |
|
|
|
|
| 118 |
htm_files = glob.glob("*.txt")
|
| 119 |
for file in htm_files:
|
| 120 |
st.sidebar.markdown(get_table_download_link(file), unsafe_allow_html=True)
|
| 121 |
+
if st.sidebar.button(f"πDelete {file}"):
|
| 122 |
+
#if st.sidebar.button("π Delete"):
|
| 123 |
os.remove(file)
|
| 124 |
st.experimental_rerun()
|
| 125 |
|