resumeAnalyzer / app.py
sumsaw's picture
resolving error
3bac201 verified
raw
history blame contribute delete
668 Bytes
import streamlit as st
from crew import crewai
import PyPDF2
st.title('πŸ¦œπŸ”— Evaluate Your Resume.')
url=st.text_input(label="Give the url of the job posting")
resume = st.file_uploader('Upload your resume in .pdf format', type="pdf")
with st.spinner('Analyzing Resume with Job Description...'):
if st.button('Submit'):
pdf_reader = PyPDF2.PdfReader(resume)
text = ""
for page in pdf_reader.pages:
text += page.extract_text()
result = crewai.kickoff(inputs={"pdf":text,
"job_posting_url":url
})
st.write(result)