pktpaulie commited on
Commit
5b20086
·
verified ·
1 Parent(s): 5519b6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -210,11 +210,11 @@ if uploaded_resume and uploaded_job_description:
210
  # if resume_path.endswith('.docx'):
211
  # save_docx_as_pdf(uploaded_resume.getvalue().decode('utf-8'), 'uploaded_resume.pdf')
212
  if uploaded_resume.type == "application/pdf":
213
- display_pdf_as_image(resume_path)
214
  else:
215
  save_docx_as_pdf(resume_path, 'uploaded_resume.pdf')
216
- display_pdf_as_image('uploaded_resume.pdf')
217
- display_doc_as_image('uploaded_resume.pdf')
218
 
219
  with col2:
220
  st.markdown("### Tailored Resume:")
 
210
  # if resume_path.endswith('.docx'):
211
  # save_docx_as_pdf(uploaded_resume.getvalue().decode('utf-8'), 'uploaded_resume.pdf')
212
  if uploaded_resume.type == "application/pdf":
213
+ display_doc_as_image(resume_path)
214
  else:
215
  save_docx_as_pdf(resume_path, 'uploaded_resume.pdf')
216
+ display_doc_as_image('uploaded_resume.pdf')
217
+
218
 
219
  with col2:
220
  st.markdown("### Tailored Resume:")