Spaces:
Running
Running
Update app.py
Browse files
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="
|
| 396 |
-
|
| 397 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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")
|