TalentPulse-AI commited on
Commit
accf492
·
verified ·
1 Parent(s): 16c36f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -65,15 +65,6 @@ def process_jd_cv(jd, cv):
65
  jd = jd[:3500]
66
  cv = cv[:3500]
67
 
68
- # Log the action to Supabase
69
- email = "guest" # Placeholder, can be updated to actual user if authentication is added
70
- supabase.table('audit_logs').insert({
71
- "user_email": email,
72
- "action": "rate_jd",
73
- "timestamp": datetime.utcnow().isoformat(),
74
- "details": {"job_description": jd, "cv": cv, "score": score}
75
- }).execute()
76
-
77
  # Calculate the final rating
78
  rating = calculate_profile_rating(jd, cv)
79
  return f"Profile Rating: {rating}/10"
 
65
  jd = jd[:3500]
66
  cv = cv[:3500]
67
 
 
 
 
 
 
 
 
 
 
68
  # Calculate the final rating
69
  rating = calculate_profile_rating(jd, cv)
70
  return f"Profile Rating: {rating}/10"