Skip to content

Commit 8cbdea3

Browse files
committed
fix: UI titles
1 parent 7bee12b commit 8cbdea3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sidebar.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,16 @@ def setup_sidebar():
1818

1919
if st.session_state.get("is_admin", False):
2020
with st.sidebar:
21-
st.title("Admin Panel")
21+
st.title("Custom Instructions")
2222
st.session_state['existing_instructions'] = get_latest_instructions()
23-
custom_instructions = st.text_area("Custom Instructions", value=st.session_state['existing_instructions'], height=custominstructions_area_height)
23+
custom_instructions = st.text_area("Edit and save to guide interactions", value=st.session_state['existing_instructions'], height=custominstructions_area_height)
2424

2525
if st.button("Save Instructions"):
2626
update_instructions(custom_instructions)
2727
st.success("Instructions updated successfully")
2828
st.experimental_rerun()
29-
29+
30+
st.title("Chatlog")
3031
csv_data = export_chat_logs_to_csv()
3132
if csv_data:
3233
st.download_button(label="Download Chat Logs", data=csv_data, file_name='chat_logs.csv', mime='text/csv',)

0 commit comments

Comments
 (0)