21 lines
No EOL
672 B
Python
21 lines
No EOL
672 B
Python
# ui/streamlit_app/Settings.py
|
||
import streamlit as st
|
||
|
||
def run():
|
||
st.title("⚙️ Settings")
|
||
st.markdown("Customize your assistant’s behavior.")
|
||
|
||
st.subheader("Summary Mode")
|
||
summary_mode = st.radio("Choose summarization engine:", ["spaCy", "KeyBERT", "LLM"])
|
||
st.success(f"🔍 Using: {summary_mode}")
|
||
|
||
st.subheader("Sync Options")
|
||
auto_sync = st.checkbox("Auto-sync every hour", value=False)
|
||
download_attachments = st.checkbox("Auto-download invoices/receipts", value=True)
|
||
|
||
if st.button("Save Settings"):
|
||
# TODO: Persist to config/settings.yml
|
||
st.success("✅ Settings saved!")
|
||
|
||
if __name__ == "__main__":
|
||
run() |