Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +7 -7
src/streamlit_app.py
CHANGED
@@ -21,19 +21,19 @@ client = InferenceClient(
|
|
21 |
st.set_page_config(page_title="ุดููููู โ ู
ุณุงุนุฏู ุงูุฐูู", page_icon="๐๏ธ", layout="centered")
|
22 |
|
23 |
# Helper to get logo path
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
|
30 |
|
31 |
# --- HEADER SECTION ---
|
32 |
col1, col2 = st.columns([1, 4])
|
33 |
with col1:
|
34 |
try:
|
35 |
-
|
36 |
-
logo_path = "./src/
|
37 |
st.image(logo_path, width=150)
|
38 |
except:
|
39 |
st.empty()
|
|
|
21 |
st.set_page_config(page_title="ุดููููู โ ู
ุณุงุนุฏู ุงูุฐูู", page_icon="๐๏ธ", layout="centered")
|
22 |
|
23 |
# Helper to get logo path
|
24 |
+
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 "assets/chyaka_logof.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("chyaka_logof.png")
|
36 |
+
#logo_path = "./src/chyaka_logof.png"
|
37 |
st.image(logo_path, width=150)
|
38 |
except:
|
39 |
st.empty()
|