Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,7 @@ def convert_to_json(llm, cv_text, maxtokens, temperature, top_probability):
|
|
157 |
@spaces.GPU(duration=40)
|
158 |
def pdf_to_text(cv_file, job_description, maxtokens=2048, temperature=0, top_probability=0.95):
|
159 |
|
160 |
-
page2content = process_document(cv_file)
|
161 |
cv_text = ""
|
162 |
for page_id in page2content:
|
163 |
cv_text += page2content[page_id] + ' '
|
|
|
157 |
@spaces.GPU(duration=40)
|
158 |
def pdf_to_text(cv_file, job_description, maxtokens=2048, temperature=0, top_probability=0.95):
|
159 |
|
160 |
+
# page2content = process_document(cv_file)
|
161 |
cv_text = ""
|
162 |
for page_id in page2content:
|
163 |
cv_text += page2content[page_id] + ' '
|