Jaiwincr7 commited on
Commit
bda7cfd
·
1 Parent(s): 3883224

FINAL FIX: Removed redundant 'bytes()' conversion in app.py to correct PDF data type mismatch.

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -76,15 +76,15 @@ else:
76
 
77
  st.divider()
78
 
79
- if st.session_state.get("pdf_bytes"):
80
- st.success("PDF ready")
81
- st.download_button(
82
- label="📥 Download Test Cases PDF",
83
- data=st.session_state["pdf_bytes"],
84
- file_name="test_cases.pdf",
85
- mime="application/pdf",
86
- key="download_pdf"
87
- )
88
 
89
 
90
 
 
76
 
77
  st.divider()
78
 
79
+ if st.session_state.get("pdf_bytes"):
80
+ st.success("PDF ready")
81
+ st.download_button(
82
+ label="📥 Download Test Cases PDF",
83
+ data=st.session_state["pdf_bytes"],
84
+ file_name="test_cases.pdf",
85
+ mime="application/pdf",
86
+ key="download_pdf"
87
+ )
88
 
89
 
90