muddasser commited on
Commit
dbb0b55
ยท
verified ยท
1 Parent(s): 18e5c89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -392,9 +392,13 @@ Answer:"""
392
  return llm.invoke(prompt).content
393
 
394
  # ========================= STREAMLIT APP =========================
395
- st.set_page_config(page_title="Hybrid RAG Assistant", page_icon="๐Ÿ“š", layout="wide")
396
- st.title("๐Ÿ“š Hybrid RAG Assistant")
397
- st.caption("FAISS semantic search + BM25, fused with Reciprocal Rank Fusion")
 
 
 
 
398
 
399
  with st.sidebar:
400
  st.header("Settings")
 
392
  return llm.invoke(prompt).content
393
 
394
  # ========================= STREAMLIT APP =========================
395
+ st.set_page_config(page_title="HR Policies / Benefits Assistant", page_icon="๐Ÿ“š", layout="wide")
396
+ HEADER_IMAGE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "HR_policies.png")
397
+ if os.path.exists(HEADER_IMAGE):
398
+ st.image(HEADER_IMAGE, use_container_width=True)
399
+ else: # image missing from the repo: fall back to a text title
400
+ st.title("HR Policies / Benefits Assistant")
401
+ st.caption("Find information about company policies, benefits, leaves, and employee support.")
402
 
403
  with st.sidebar:
404
  st.header("Settings")