tanzilhussain Claude Opus 5 commited on
Commit
f204829
·
1 Parent(s): ea38cca

Reword the download button so it differs from its fold title

Browse files

'Download your redacted report' opening onto 'Download my redacted report' read
as the same label twice. The button now says what it does to the file.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -493,7 +493,7 @@ def _render_review_step():
493
  # a student can do with the redacted file read as one pair.
494
  with st.expander("Download your redacted report", expanded=False,
495
  key="sub-fold-download"):
496
- st.download_button("Download my redacted report", data=out,
497
  file_name=f"REDACTED_{uid}.pdf",
498
  mime="application/pdf", type="primary")
499
  return True
 
493
  # a student can do with the redacted file read as one pair.
494
  with st.expander("Download your redacted report", expanded=False,
495
  key="sub-fold-download"):
496
+ st.download_button("Save the PDF", data=out,
497
  file_name=f"REDACTED_{uid}.pdf",
498
  mime="application/pdf", type="primary")
499
  return True