Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -176,6 +176,7 @@ def pdf_to_text(prompt, maxtokens=2048, temperature=0, top_probability=0.95):
|
|
| 176 |
n_batch=1024,
|
| 177 |
n_ctx=8192,
|
| 178 |
)
|
|
|
|
| 179 |
# cv_text, crafted_cv = craft_cv(llm, cv_text, job_description, maxtokens, temperature, top_probability)
|
| 180 |
# print('CRAFTED CV IS ',crafted_cv)
|
| 181 |
cv_text, crafted_cv = craft_cv(llm, prompt, maxtokens, temperature, top_probability)
|
|
|
|
| 176 |
n_batch=1024,
|
| 177 |
n_ctx=8192,
|
| 178 |
)
|
| 179 |
+
print('MAX TONENS IS ',maxtokens)
|
| 180 |
# cv_text, crafted_cv = craft_cv(llm, cv_text, job_description, maxtokens, temperature, top_probability)
|
| 181 |
# print('CRAFTED CV IS ',crafted_cv)
|
| 182 |
cv_text, crafted_cv = craft_cv(llm, prompt, maxtokens, temperature, top_probability)
|