carrief0908 commited on
Commit
e8eb98d
Β·
verified Β·
1 Parent(s): 4dc485a

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +7 -4
src/streamlit_app.py CHANGED
@@ -83,8 +83,8 @@ AUTH_ENDPOINT = f"{AUTHORITY}/oauth2/v2.0/authorize"
83
  TOKEN_ENDPOINT= f"{AUTHORITY}/oauth2/v2.0/token"
84
  SCOPES = "Mail.Read offline_access"
85
 
86
- DEFAULT_SENDER = "agabrielse@newfrontieradvisors.com"
87
- DEFAULT_TARGET = "cfeng@newfrontieradvisors.com"
88
 
89
  # ── Session defaults ───────────────────────────────────────────────────────────
90
  for k, v in {
@@ -414,7 +414,7 @@ with col_a:
414
  with col_b:
415
  target_email = st.text_input("Recipient email to filter for", value=DEFAULT_TARGET)
416
  with col_c:
417
- top_n = st.number_input("Max emails to fetch", min_value=5, max_value=200, value=50, step=5)
418
 
419
  # Step 3 β€” Run
420
  st.markdown('<div class="step-label">Step 3</div>', unsafe_allow_html=True)
@@ -465,7 +465,10 @@ if st.button("β–Ά Run", disabled=not st.session_state.token):
465
  if all_rows else pd.DataFrame()
466
  )
467
 
468
- st.success(f"Done! Found **{len(st.session_state.rj_emails)}** RJ forwarded emails.")
 
 
 
469
 
470
 
471
  # ── Results ────────────────────────────────────────────────────────────────────
 
83
  TOKEN_ENDPOINT= f"{AUTHORITY}/oauth2/v2.0/token"
84
  SCOPES = "Mail.Read offline_access"
85
 
86
+ DEFAULT_SENDER = "AMSTradingAdmin@RaymondJames.com"
87
+ DEFAULT_TARGET = "dutytrader@newfrontieradvisors.com"
88
 
89
  # ── Session defaults ───────────────────────────────────────────────────────────
90
  for k, v in {
 
414
  with col_b:
415
  target_email = st.text_input("Recipient email to filter for", value=DEFAULT_TARGET)
416
  with col_c:
417
+ top_n = st.number_input("Max emails to fetch", min_value=5, max_value=200, value=100, step=5)
418
 
419
  # Step 3 β€” Run
420
  st.markdown('<div class="step-label">Step 3</div>', unsafe_allow_html=True)
 
465
  if all_rows else pd.DataFrame()
466
  )
467
 
468
+ st.success(
469
+ f"Done! Fetched **{len(raw)}** recent inbox emails and found "
470
+ f"**{len(st.session_state.rj_emails)}** RJ forwarded emails."
471
+ )
472
 
473
 
474
  # ── Results ────────────────────────────────────────────────────────────────────