Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,11 @@ import streamlit as st
|
|
| 2 |
import os
|
| 3 |
from streamlit_extras.stylable_container import stylable_container
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
st.markdown(
|
| 6 |
'<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"/> ',
|
| 7 |
unsafe_allow_html=True,
|
|
@@ -20,7 +25,7 @@ with stylable_container(
|
|
| 20 |
}
|
| 21 |
""",
|
| 22 |
):
|
| 23 |
-
|
| 24 |
|
| 25 |
with stylable_container(
|
| 26 |
key="delete_button",
|
|
@@ -35,7 +40,7 @@ with stylable_container(
|
|
| 35 |
}
|
| 36 |
""",
|
| 37 |
):
|
| 38 |
-
|
| 39 |
|
| 40 |
with stylable_container(
|
| 41 |
key="view_button",
|
|
@@ -50,7 +55,7 @@ with stylable_container(
|
|
| 50 |
}
|
| 51 |
""",
|
| 52 |
):
|
| 53 |
-
|
| 54 |
|
| 55 |
with stylable_container(
|
| 56 |
key="recycle_button",
|
|
@@ -65,7 +70,7 @@ with stylable_container(
|
|
| 65 |
}
|
| 66 |
""",
|
| 67 |
):
|
| 68 |
-
|
| 69 |
|
| 70 |
|
| 71 |
|
|
|
|
| 2 |
import os
|
| 3 |
from streamlit_extras.stylable_container import stylable_container
|
| 4 |
|
| 5 |
+
|
| 6 |
+
Logo_column, space_column, upload_column, delete_column, browse_column, recycle_column = st.columns(6)
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
|
| 10 |
st.markdown(
|
| 11 |
'<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"/> ',
|
| 12 |
unsafe_allow_html=True,
|
|
|
|
| 25 |
}
|
| 26 |
""",
|
| 27 |
):
|
| 28 |
+
upload_column.button("Upload File")
|
| 29 |
|
| 30 |
with stylable_container(
|
| 31 |
key="delete_button",
|
|
|
|
| 40 |
}
|
| 41 |
""",
|
| 42 |
):
|
| 43 |
+
delete_column.button("Delete File")
|
| 44 |
|
| 45 |
with stylable_container(
|
| 46 |
key="view_button",
|
|
|
|
| 55 |
}
|
| 56 |
""",
|
| 57 |
):
|
| 58 |
+
browse_column.button("View Folder")
|
| 59 |
|
| 60 |
with stylable_container(
|
| 61 |
key="recycle_button",
|
|
|
|
| 70 |
}
|
| 71 |
""",
|
| 72 |
):
|
| 73 |
+
recycle_column.button("Recycle App")
|
| 74 |
|
| 75 |
|
| 76 |
|