Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,8 +68,7 @@ def weighted_score(text):
|
|
| 68 |
text = text.lower()
|
| 69 |
return sum(weight for kw, weight in weighted_keywords.items() if kw in text)
|
| 70 |
|
| 71 |
-
|
| 72 |
-
openai.api_key = userdata.get('openai')
|
| 73 |
|
| 74 |
# GPT Job Role Prediction
|
| 75 |
roles = ["AI Engineer", "Data Scientist", "Project Manager", "Sales Executive", "Teacher", "HR Specialist", "Security Officer"]
|
|
|
|
| 68 |
text = text.lower()
|
| 69 |
return sum(weight for kw, weight in weighted_keywords.items() if kw in text)
|
| 70 |
|
| 71 |
+
|
|
|
|
| 72 |
|
| 73 |
# GPT Job Role Prediction
|
| 74 |
roles = ["AI Engineer", "Data Scientist", "Project Manager", "Sales Executive", "Teacher", "HR Specialist", "Security Officer"]
|