Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,9 @@ questions_by_type = {
|
|
| 31 |
"Security (SQL injection, XSS, Hashing)",
|
| 32 |
"Caching",
|
| 33 |
"Load Balancing"])],
|
| 34 |
-
|
|
|
|
|
|
|
| 35 |
"Learning Fast",
|
| 36 |
"Deadlines",
|
| 37 |
"Teamwork",
|
|
@@ -39,15 +41,18 @@ questions_by_type = {
|
|
| 39 |
"Mistake Recovery",
|
| 40 |
"Conflict Management",
|
| 41 |
"Decision Making"])],
|
| 42 |
-
|
|
|
|
|
|
|
| 43 |
"Financial Modeling",
|
| 44 |
"Automation",
|
| 45 |
"Data Analysis",
|
| 46 |
"Regression",
|
| 47 |
"Business Opportunity",
|
| 48 |
-
"Stakeholder Alignment"])]
|
| 49 |
}
|
| 50 |
|
|
|
|
| 51 |
# ---- Hugging Face Client ----
|
| 52 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 53 |
|
|
|
|
| 31 |
"Security (SQL injection, XSS, Hashing)",
|
| 32 |
"Caching",
|
| 33 |
"Load Balancing"])],
|
| 34 |
+
|
| 35 |
+
'Competency-Based Interview': [q for q in all_questions if any(keyword in q['question'].lower() for keyword in [
|
| 36 |
+
"Debugging",
|
| 37 |
"Learning Fast",
|
| 38 |
"Deadlines",
|
| 39 |
"Teamwork",
|
|
|
|
| 41 |
"Mistake Recovery",
|
| 42 |
"Conflict Management",
|
| 43 |
"Decision Making"])],
|
| 44 |
+
|
| 45 |
+
'Case': [q for q in all_questions if any(keyword in q['question'].lower() for keyword in [
|
| 46 |
+
"A/B Testing",
|
| 47 |
"Financial Modeling",
|
| 48 |
"Automation",
|
| 49 |
"Data Analysis",
|
| 50 |
"Regression",
|
| 51 |
"Business Opportunity",
|
| 52 |
+
"Stakeholder Alignment"])]
|
| 53 |
}
|
| 54 |
|
| 55 |
+
|
| 56 |
# ---- Hugging Face Client ----
|
| 57 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 58 |
|