Spaces:
Runtime error
Runtime error
Update backup.py
Browse files
backup.py
CHANGED
|
@@ -80,8 +80,11 @@ def show_file_operations(file_path, sequence_number):
|
|
| 80 |
|
| 81 |
file_content = ""
|
| 82 |
|
| 83 |
-
col1, col2, col3 = st.columns(
|
| 84 |
-
|
|
|
|
|
|
|
|
|
|
| 85 |
with col1:
|
| 86 |
edit_key = f"edit_{unique_key}_{sequence_number}"
|
| 87 |
if st.button(f"✏️ Edit", key=edit_key):
|
|
@@ -183,4 +186,4 @@ def main():
|
|
| 183 |
show_download_links(subdir)
|
| 184 |
|
| 185 |
if __name__ == "__main__":
|
| 186 |
-
main()
|
|
|
|
| 80 |
|
| 81 |
file_content = ""
|
| 82 |
|
| 83 |
+
col01, col02, col1, col2, col3 = st.columns(5)
|
| 84 |
+
with col01:
|
| 85 |
+
st.write(os.path.basename(file_path))
|
| 86 |
+
with col02:
|
| 87 |
+
st.write(file_path)
|
| 88 |
with col1:
|
| 89 |
edit_key = f"edit_{unique_key}_{sequence_number}"
|
| 90 |
if st.button(f"✏️ Edit", key=edit_key):
|
|
|
|
| 186 |
show_download_links(subdir)
|
| 187 |
|
| 188 |
if __name__ == "__main__":
|
| 189 |
+
main()
|