Anushkabhat9 commited on
Commit
4ab8bf1
·
verified ·
1 Parent(s): e9945a5

Update resume_generation_gemini_pro.py

Browse files
Files changed (1) hide show
  1. resume_generation_gemini_pro.py +1 -2
resume_generation_gemini_pro.py CHANGED
@@ -206,8 +206,7 @@ def generate_gemini(current_resume,job_description):
206
  convert_resume_to_word(tailored_resume,output_file)
207
 
208
  st.success(f"Tailored resume saved to {output_file}")
209
- doc = Document(output_file)
210
- output_text = "\n".join([p.text for p in doc.paragraphs])
211
  st.write(output_text)
212
 
213
  return tailored_resume, output_file
 
206
  convert_resume_to_word(tailored_resume,output_file)
207
 
208
  st.success(f"Tailored resume saved to {output_file}")
209
+ output_text = extract_text(output_file)
 
210
  st.write(output_text)
211
 
212
  return tailored_resume, output_file