Email-Agent/ui/streamlit_app/pages/Settings.py

21 lines
672 B
Python
Raw Permalink Normal View History

2025-05-06 11:13:15 -04:00
# ui/streamlit_app/Settings.py
import streamlit as st
def run():
st.title("⚙️ Settings")
st.markdown("Customize your assistants 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()