Spaces:
Sleeping
Sleeping
Edvin Behdadijd
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,8 @@ def evaluate_resume(pdf_file, job_description):
|
|
| 37 |
messages=[
|
| 38 |
{"role": "system", "content": "You are a helpful assistant."},
|
| 39 |
{"role": "user", "content": prompt}
|
| 40 |
-
]
|
|
|
|
| 41 |
)
|
| 42 |
|
| 43 |
return response.choices[0].message['content']
|
|
|
|
| 37 |
messages=[
|
| 38 |
{"role": "system", "content": "You are a helpful assistant."},
|
| 39 |
{"role": "user", "content": prompt}
|
| 40 |
+
],
|
| 41 |
+
temperature=0
|
| 42 |
)
|
| 43 |
|
| 44 |
return response.choices[0].message['content']
|