iabrarzelaci commited on
Commit
ab12a7e
ยท
verified ยท
1 Parent(s): cd3296b

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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 r"C:\Users\DELL\gulf_chatbot_demo\assessts\chyaka_logof.png"
 
29
 
30
  # --- HEADER SECTION ---
31
  col1, col2 = st.columns([1, 4])
32
  with col1:
33
  try:
34
- logo_path = get_image_path("gulf_fashion_logo.png")
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("##### ู…ุณุงุนุฏูƒ ุงู„ุฐูƒูŠ ู…ู† ู…ุชุฌุฑ ุดูŠุงูƒุฉ")