Spaces:
Running
Running
halimbahae
commited on
Commit
•
c9052ff
1
Parent(s):
97ad829
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
|
10 |
def extract_text_from_pdf(file):
|
11 |
reader = PdfReader(file)
|
12 |
text = ""
|
13 |
-
for page in
|
14 |
-
text +=
|
15 |
return text
|
16 |
|
17 |
def ats_friendly_checker(file):
|
|
|
10 |
def extract_text_from_pdf(file):
|
11 |
reader = PdfReader(file)
|
12 |
text = ""
|
13 |
+
for page in reader.pages:
|
14 |
+
text += page.extract_text()
|
15 |
return text
|
16 |
|
17 |
def ats_friendly_checker(file):
|