Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,11 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import os
|
| 3 |
from streamlit_extras.stylable_container import stylable_container
|
|
|
|
|
|
|
| 4 |
|
| 5 |
# Variables used Globally
|
| 6 |
-
path = "/data"
|
| 7 |
|
| 8 |
# Application Functions
|
| 9 |
# File Loader
|
|
@@ -56,6 +58,12 @@ st.markdown(
|
|
| 56 |
unsafe_allow_html=True,
|
| 57 |
)
|
| 58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
with upload_column:
|
| 60 |
with stylable_container(
|
| 61 |
key="upload_button",
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import os
|
| 3 |
from streamlit_extras.stylable_container import stylable_container
|
| 4 |
+
from PIL import Image
|
| 5 |
+
|
| 6 |
|
| 7 |
# Variables used Globally
|
| 8 |
+
path = "/data" #preset path for hugging face spaces for persistent storage and cannot be changed
|
| 9 |
|
| 10 |
# Application Functions
|
| 11 |
# File Loader
|
|
|
|
| 58 |
unsafe_allow_html=True,
|
| 59 |
)
|
| 60 |
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
with logo_column:
|
| 64 |
+
image = Image.open(os.path.join(path,'spaces-hot-dog-streamlit.png')
|
| 65 |
+
st.image(image, caption='CRIStine')
|
| 66 |
+
|
| 67 |
with upload_column:
|
| 68 |
with stylable_container(
|
| 69 |
key="upload_button",
|