Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -150,7 +150,6 @@ def convert_to_json(llm, cv_text, maxtokens, temperature, top_probability):
|
|
| 150 |
output = output['choices'][0]['message']['content']
|
| 151 |
return output
|
| 152 |
|
| 153 |
-
@spaces.GPU(duration=40)
|
| 154 |
def pdf_to_text(prompt, maxtokens=2048, temperature=0, top_probability=0.95):
|
| 155 |
# def pdf_to_text(cv_file, job_description, llm_type='Fine tuned Llama3', maxtokens=2048, temperature=0, top_probability=0.95):
|
| 156 |
|
|
|
|
| 150 |
output = output['choices'][0]['message']['content']
|
| 151 |
return output
|
| 152 |
|
|
|
|
| 153 |
def pdf_to_text(prompt, maxtokens=2048, temperature=0, top_probability=0.95):
|
| 154 |
# def pdf_to_text(cv_file, job_description, llm_type='Fine tuned Llama3', maxtokens=2048, temperature=0, top_probability=0.95):
|
| 155 |
|