srijaydeshpande commited on
Commit
2b2597f
·
verified ·
1 Parent(s): f0f9ed1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -153,9 +153,9 @@ def convert_to_json(llm, cv_text):
153
  output = output['choices'][0]['message']['content']
154
  return output
155
 
 
156
  @spaces.GPU(duration=40)
157
- def pdf_to_text(prompt, maxtokens=2048, temperature=0, top_probability=0.95):
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 = ""
 
153
  output = output['choices'][0]['message']['content']
154
  return output
155
 
156
+ # def pdf_to_text(prompt, maxtokens=2048, temperature=0, top_probability=0.95):
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 = ""