Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +4 -2
src/streamlit_app.py
CHANGED
|
@@ -25,17 +25,19 @@ def get_image_path(filename):
|
|
| 25 |
local_path = os.path.join("assets", filename)
|
| 26 |
if os.path.exists(local_path):
|
| 27 |
return local_path
|
| 28 |
-
return
|
|
|
|
| 29 |
|
| 30 |
# --- HEADER SECTION ---
|
| 31 |
col1, col2 = st.columns([1, 4])
|
| 32 |
with col1:
|
| 33 |
try:
|
| 34 |
-
logo_path = get_image_path("
|
| 35 |
st.image(logo_path, width=150)
|
| 36 |
except:
|
| 37 |
st.empty()
|
| 38 |
|
|
|
|
| 39 |
with col2:
|
| 40 |
st.markdown("<h1 style='font-size: 32px; margin-bottom: 0;'>ุดููููู ๐ค</h1>", unsafe_allow_html=True)
|
| 41 |
st.markdown("##### ู
ุณุงุนุฏู ุงูุฐูู ู
ู ู
ุชุฌุฑ ุดูุงูุฉ")
|
|
|
|
| 25 |
local_path = os.path.join("assets", filename)
|
| 26 |
if os.path.exists(local_path):
|
| 27 |
return local_path
|
| 28 |
+
return "assets/chayouk_logo.png" # fallback path within the same repo
|
| 29 |
+
|
| 30 |
|
| 31 |
# --- HEADER SECTION ---
|
| 32 |
col1, col2 = st.columns([1, 4])
|
| 33 |
with col1:
|
| 34 |
try:
|
| 35 |
+
logo_path = get_image_path("chayouk_logo.png")
|
| 36 |
st.image(logo_path, width=150)
|
| 37 |
except:
|
| 38 |
st.empty()
|
| 39 |
|
| 40 |
+
|
| 41 |
with col2:
|
| 42 |
st.markdown("<h1 style='font-size: 32px; margin-bottom: 0;'>ุดููููู ๐ค</h1>", unsafe_allow_html=True)
|
| 43 |
st.markdown("##### ู
ุณุงุนุฏู ุงูุฐูู ู
ู ู
ุชุฌุฑ ุดูุงูุฉ")
|