pktpaulie commited on
Commit
c53309e
·
verified ·
1 Parent(s): a77412e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -114,7 +114,7 @@ st.markdown("""
114
  # st.markdown('<div class="logo-container"></div>', unsafe_allow_html=True)
115
  # st.image("template_image.png", width=80)
116
  # st.markdown('</div>', unsafe_allow_html=True)
117
- st.image("template_image.png", use_column_width=True)
118
 
119
  # Title and Description
120
  st.title("Resume Tailoring with Google Generative AI")
@@ -383,7 +383,7 @@ if uploaded_resume and uploaded_job_description:
383
  with col1:
384
  st.download_button(
385
  label="Generated Resume (PDF)",
386
- data=open(gen_pdf_path, 'rb').read(),
387
  file_name="tailored_resume.pdf",
388
  mime="application/pdf"
389
  )
 
114
  # st.markdown('<div class="logo-container"></div>', unsafe_allow_html=True)
115
  # st.image("template_image.png", width=80)
116
  # st.markdown('</div>', unsafe_allow_html=True)
117
+ st.image("template_image.png", use_container_width =True)
118
 
119
  # Title and Description
120
  st.title("Resume Tailoring with Google Generative AI")
 
383
  with col1:
384
  st.download_button(
385
  label="Generated Resume (PDF)",
386
+ data=resume_bytes,
387
  file_name="tailored_resume.pdf",
388
  mime="application/pdf"
389
  )