Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def craft_cv(llm, cv_text, job_description, maxtokens, temperature, top_probabil
|
|
| 77 |
instruction = "Given input CV and job description. Please revise the CV according to the given job description and output the revised CV."
|
| 78 |
output = llm.create_chat_completion(
|
| 79 |
messages=[
|
| 80 |
-
{"from": "user", "value": instruction + ' Input CV: ' + cv_text + ' , Job Description: ' + job_description
|
| 81 |
],
|
| 82 |
max_tokens=maxtokens,
|
| 83 |
temperature=temperature
|
|
|
|
| 77 |
instruction = "Given input CV and job description. Please revise the CV according to the given job description and output the revised CV."
|
| 78 |
output = llm.create_chat_completion(
|
| 79 |
messages=[
|
| 80 |
+
{"from": "user", "value": instruction + ' Input CV: ' + cv_text + ' , Job Description: ' + job_description},
|
| 81 |
],
|
| 82 |
max_tokens=maxtokens,
|
| 83 |
temperature=temperature
|