pktpaulie commited on
Commit
a145bc3
·
verified ·
1 Parent(s): b777be5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -286,9 +286,7 @@ if uploaded_resume and uploaded_job_description:
286
  if generated_resume is not None:
287
 
288
  from io import BytesIO
289
-
290
- gen_resume_path = save_uploaded_file(generated_resume)
291
- # uploaded_resume_path = save_uploaded_file(resume)
292
 
293
  doc = Document()
294
  doc.add_paragraph(generated_resume)
@@ -297,6 +295,9 @@ if uploaded_resume and uploaded_job_description:
297
  doc.save(resume_bytes)
298
  resume_bytes.seek(0)
299
 
 
 
 
300
  col1, col2 = st.columns(2)
301
  with col1:
302
  save_docx_as_pdf(resume_path, 'uploaded_resume.pdf')
 
286
  if generated_resume is not None:
287
 
288
  from io import BytesIO
289
+
 
 
290
 
291
  doc = Document()
292
  doc.add_paragraph(generated_resume)
 
295
  doc.save(resume_bytes)
296
  resume_bytes.seek(0)
297
 
298
+ gen_resume_path = save_uploaded_file(resume_bytes)
299
+ # uploaded_resume_path = save_uploaded_file(resume)
300
+
301
  col1, col2 = st.columns(2)
302
  with col1:
303
  save_docx_as_pdf(resume_path, 'uploaded_resume.pdf')