khrek's picture
Update main.py
936f5ea
raw
history blame
308 Bytes
from reader import ResumeReader
from resume_parser import ResumeParser
class Main():
def __init__(self):
self.reader = ResumeReader()
self.parser = ResumeParser()
def parse(self, filename):
text = self.reader.read_pdf(filename)
return self.parser.parse(text)