srijaydeshpande commited on
Commit
77469c1
·
verified ·
1 Parent(s): 0ce3cb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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] + ' '