Spaces:
Running
You need to build an AI Resume Classifier application that:
Browse filesAccepts resumes in Text or PDF format.
Extracts skills from the resume.
Classifies the resume into categories:
Web Developer
Data Analyst
AI/ML
Core Engineer
Highlights Top 3 Skills for each student.
Uses ML/NLP for automation.
πΉ Tech Stack Suggestion
Backend: Python (Flask / FastAPI / Streamlit for simplicity).
Libraries:
PyPDF2 or pdfplumber β extract text from PDF.
NLTK / spaCy β extract skills.
scikit-learn β classification model (TF-IDF + Logistic Regression).
Frontend:
Streamlit (easiest β instant web UI).
Or Flask + HTML (custom web app).
πΉ Step-by-Step Implementation Plan
1. Data Preprocessing
Collect sample resumes (or text snippets).
Label them into categories (Web Developer, Data Analyst, AI/ML, Core Engineer).
2. Skill Extraction
Use keyword matching from a skills dictionary.
Or use NER with spaCy (en_core_web_sm) to extract entities like "Python", "SQL", "TensorFlow".
3. Classification
Convert text to TF-IDF embeddings.
Train a classifier (LogisticRegression or RandomForest).
Predict job category.
4. Top 3 Skills
Count frequency of extracted skills β return top 3.
5. Application
User uploads PDF.
Extract text β clean β run through classifier.
Display:
Predicted Category
Top 3 Skills
- README.md +9 -5
- index.html +93 -19
- results.html +118 -0
|
@@ -1,10 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: ResumeRanger AI π
|
| 3 |
+
colorFrom: yellow
|
| 4 |
+
colorTo: purple
|
| 5 |
+
emoji: π³
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://deepsite.hf.co).
|
| 14 |
+
|
|
@@ -1,19 +1,93 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>ResumeRanger AI - Smart Resume Classifier</title>
|
| 7 |
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css">
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.gradient-bg {
|
| 11 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 12 |
+
}
|
| 13 |
+
.file-upload {
|
| 14 |
+
border: 2px dashed #cbd5e0;
|
| 15 |
+
transition: all 0.3s ease;
|
| 16 |
+
}
|
| 17 |
+
.file-upload:hover {
|
| 18 |
+
border-color: #667eea;
|
| 19 |
+
}
|
| 20 |
+
</style>
|
| 21 |
+
</head>
|
| 22 |
+
<body class="font-sans antialiased">
|
| 23 |
+
<div class="min-h-screen gradient-bg text-white">
|
| 24 |
+
<div class="container mx-auto px-4 py-16">
|
| 25 |
+
<div class="max-w-4xl mx-auto text-center">
|
| 26 |
+
<div class="flex justify-center mb-6">
|
| 27 |
+
<div class="bg-white bg-opacity-20 p-3 rounded-full">
|
| 28 |
+
<i class="fas fa-file-alt text-3xl"></i>
|
| 29 |
+
</div>
|
| 30 |
+
</div>
|
| 31 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-4">ResumeRanger AI</h1>
|
| 32 |
+
<p class="text-xl opacity-90 mb-8">Upload your resume and discover your perfect career match</p>
|
| 33 |
+
|
| 34 |
+
<div class="bg-white bg-opacity-10 backdrop-filter backdrop-blur-lg rounded-xl p-8 mb-8">
|
| 35 |
+
<div class="file-upload rounded-lg p-12 text-center cursor-pointer">
|
| 36 |
+
<i class="fas fa-cloud-upload-alt text-4xl mb-4 text-blue-200"></i>
|
| 37 |
+
<p class="mb-2 font-medium">Drag & drop your resume here</p>
|
| 38 |
+
<p class="text-sm opacity-80 mb-4">or</p>
|
| 39 |
+
<label for="resume-upload" class="bg-white text-indigo-700 px-6 py-2 rounded-full font-medium cursor-pointer hover:bg-gray-100 transition">
|
| 40 |
+
Browse Files
|
| 41 |
+
</label>
|
| 42 |
+
<input id="resume-upload" type="file" class="hidden" accept=".pdf,.txt,.doc,.docx">
|
| 43 |
+
</div>
|
| 44 |
+
</div>
|
| 45 |
+
|
| 46 |
+
<div class="grid md:grid-cols-2 gap-6 mb-8">
|
| 47 |
+
<div class="bg-white bg-opacity-10 p-6 rounded-xl">
|
| 48 |
+
<h3 class="text-xl font-semibold mb-3">How It Works</h3>
|
| 49 |
+
<ul class="space-y-2 text-left">
|
| 50 |
+
<li class="flex items-start">
|
| 51 |
+
<i class="fas fa-check-circle mt-1 mr-2 text-green-300"></i>
|
| 52 |
+
<span>Upload your resume in any format</span>
|
| 53 |
+
</li>
|
| 54 |
+
<li class="flex items-start">
|
| 55 |
+
<i class="fas fa-check-circle mt-1 mr-2 text-green-300"></i>
|
| 56 |
+
<span>AI extracts your key skills automatically</span>
|
| 57 |
+
</li>
|
| 58 |
+
<li class="flex items-start">
|
| 59 |
+
<i class="fas fa-check-circle mt-1 mr-2 text-green-300"></i>
|
| 60 |
+
<span>Get matched with ideal career paths</span>
|
| 61 |
+
</li>
|
| 62 |
+
</ul>
|
| 63 |
+
</div>
|
| 64 |
+
|
| 65 |
+
<div class="bg-white bg-opacity-10 p-6 rounded-xl">
|
| 66 |
+
<h3 class="text-xl font-semibold mb-3">Supported Careers</h3>
|
| 67 |
+
<div class="grid grid-cols-2 gap-2">
|
| 68 |
+
<span class="bg-indigo-700 bg-opacity-50 px-3 py-1 rounded-full text-sm">Web Developer</span>
|
| 69 |
+
<span class="bg-purple-700 bg-opacity-50 px-3 py-1 rounded-full text-sm">Data Analyst</span>
|
| 70 |
+
<span class="bg-pink-700 bg-opacity-50 px-3 py-1 rounded-full text-sm">AI/ML Engineer</span>
|
| 71 |
+
<span class="bg-blue-700 bg-opacity-50 px-3 py-1 rounded-full text-sm">Core Engineer</span>
|
| 72 |
+
</div>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
</div>
|
| 77 |
+
</div>
|
| 78 |
+
|
| 79 |
+
<script>
|
| 80 |
+
document.getElementById('resume-upload').addEventListener('change', function(e) {
|
| 81 |
+
if (e.target.files.length > 0) {
|
| 82 |
+
const fileName = e.target.files[0].name;
|
| 83 |
+
alert(`File "${fileName}" uploaded successfully! Processing your resume...`);
|
| 84 |
+
// Here you would typically send the file to your backend for processing
|
| 85 |
+
// For now we'll simulate a response after 2 seconds
|
| 86 |
+
setTimeout(() => {
|
| 87 |
+
window.location.href = "results.html";
|
| 88 |
+
}, 2000);
|
| 89 |
+
}
|
| 90 |
+
});
|
| 91 |
+
</script>
|
| 92 |
+
</body>
|
| 93 |
+
</html>
|
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Your Resume Analysis | ResumeRanger AI</title>
|
| 7 |
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css">
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.gradient-bg {
|
| 11 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 12 |
+
}
|
| 13 |
+
.skill-pill {
|
| 14 |
+
transition: all 0.2s ease;
|
| 15 |
+
}
|
| 16 |
+
.skill-pill:hover {
|
| 17 |
+
transform: translateY(-2px);
|
| 18 |
+
}
|
| 19 |
+
</style>
|
| 20 |
+
</head>
|
| 21 |
+
<body class="font-sans antialiased">
|
| 22 |
+
<div class="min-h-screen gradient-bg text-white">
|
| 23 |
+
<div class="container mx-auto px-4 py-12">
|
| 24 |
+
<div class="max-w-4xl mx-auto">
|
| 25 |
+
<a href="index.html" class="inline-flex items-center text-blue-200 hover:text-white mb-8">
|
| 26 |
+
<i class="fas fa-arrow-left mr-2"></i> Back to upload
|
| 27 |
+
</a>
|
| 28 |
+
|
| 29 |
+
<div class="bg-white bg-opacity-10 backdrop-filter backdrop-blur-lg rounded-xl p-8 mb-8">
|
| 30 |
+
<div class="flex flex-col md:flex-row items-center mb-8">
|
| 31 |
+
<div class="w-24 h-24 rounded-full bg-indigo-600 flex items-center justify-center mb-4 md:mb-0 md:mr-6">
|
| 32 |
+
<i class="fas fa-user-graduate text-3xl"></i>
|
| 33 |
+
</div>
|
| 34 |
+
<div>
|
| 35 |
+
<h2 class="text-2xl font-bold">John Doe</h2>
|
| 36 |
+
<div class="mt-2">
|
| 37 |
+
<span class="bg-green-500 bg-opacity-30 px-3 py-1 rounded-full text-sm">AI/ML Engineer</span>
|
| 38 |
+
</div>
|
| 39 |
+
</div>
|
| 40 |
+
</div>
|
| 41 |
+
|
| 42 |
+
<div class="mb-8">
|
| 43 |
+
<h3 class="text-xl font-semibold mb-4">Top Skills</h3>
|
| 44 |
+
<div class="flex flex-wrap gap-2">
|
| 45 |
+
<span class="skill-pill bg-indigo-600 px-4 py-2 rounded-full font-medium">Python</span>
|
| 46 |
+
<span class="skill-pill bg-purple-600 px-4 py-2 rounded-full font-medium">TensorFlow</span>
|
| 47 |
+
<span class="skill-pill bg-pink-600 px-4 py-2 rounded-full font-medium">Machine Learning</span>
|
| 48 |
+
</div>
|
| 49 |
+
</div>
|
| 50 |
+
|
| 51 |
+
<div class="mb-8">
|
| 52 |
+
<h3 class="text-xl font-semibold mb-4">Career Match Details</h3>
|
| 53 |
+
<div class="bg-white bg-opacity-5 rounded-lg p-4">
|
| 54 |
+
<div class="flex items-start mb-3">
|
| 55 |
+
<i class="fas fa-check-circle text-green-400 mt-1 mr-3"></i>
|
| 56 |
+
<div>
|
| 57 |
+
<h4 class="font-medium">Strong Match (85%)</h4>
|
| 58 |
+
<p class="text-sm opacity-80">Your skills align closely with typical AI/ML Engineer requirements</p>
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
<div class="flex items-start mb-3">
|
| 62 |
+
<i class="fas fa-lightbulb text-yellow-400 mt-1 mr-3"></i>
|
| 63 |
+
<div>
|
| 64 |
+
<h4 class="font-medium">Suggested Improvements</h4>
|
| 65 |
+
<p class="text-sm opacity-80">Consider adding experience with PyTorch and cloud platforms like AWS SageMaker</p>
|
| 66 |
+
</div>
|
| 67 |
+
</div>
|
| 68 |
+
<div class="flex items-start">
|
| 69 |
+
<i class="fas fa-chart-line text-blue-400 mt-1 mr-3"></i>
|
| 70 |
+
<div>
|
| 71 |
+
<h4 class="font-medium">Career Growth</h4>
|
| 72 |
+
<p class="text-sm opacity-80">With 1-2 more years of experience, you could qualify for Senior AI Engineer roles</p>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
</div>
|
| 77 |
+
|
| 78 |
+
<div>
|
| 79 |
+
<h3 class="text-xl font-semibold mb-4">Other Potential Matches</h3>
|
| 80 |
+
<div class="grid md:grid-cols-3 gap-4">
|
| 81 |
+
<div class="bg-white bg-opacity-5 p-4 rounded-lg">
|
| 82 |
+
<div class="flex items-center mb-2">
|
| 83 |
+
<span class="bg-blue-500 bg-opacity-30 px-2 py-1 rounded-full text-xs mr-2">75%</span>
|
| 84 |
+
<span class="font-medium">Data Scientist</span>
|
| 85 |
+
</div>
|
| 86 |
+
<p class="text-sm opacity-80">Your statistical skills make this a good alternative</p>
|
| 87 |
+
</div>
|
| 88 |
+
<div class="bg-white bg-opacity-5 p-4 rounded-lg">
|
| 89 |
+
<div class="flex items-center mb-2">
|
| 90 |
+
<span class="bg-purple-500 bg-opacity-30 px-2 py-1 rounded-full text-xs mr-2">65%</span>
|
| 91 |
+
<span class="font-medium">Research Engineer</span>
|
| 92 |
+
</div>
|
| 93 |
+
<p class="text-sm opacity-80">Your analytical approach fits research roles</p>
|
| 94 |
+
</div>
|
| 95 |
+
<div class="bg-white bg-opacity-5 p-4 rounded-lg">
|
| 96 |
+
<div class="flex items-center mb-2">
|
| 97 |
+
<span class="bg-green-500 bg-opacity-30 px-2 py-1 rounded-full text-xs mr-2">60%</span>
|
| 98 |
+
<span class="font-medium">ML Ops Engineer</span>
|
| 99 |
+
</div>
|
| 100 |
+
<p class="text-sm opacity-80">With more DevOps experience, this could be a great fit</p>
|
| 101 |
+
</div>
|
| 102 |
+
</div>
|
| 103 |
+
</div>
|
| 104 |
+
</div>
|
| 105 |
+
|
| 106 |
+
<div class="text-center">
|
| 107 |
+
<button onclick="window.print()" class="bg-white text-indigo-700 px-6 py-2 rounded-full font-medium hover:bg-gray-100 transition mr-4">
|
| 108 |
+
<i class="fas fa-print mr-2"></i> Print Report
|
| 109 |
+
</button>
|
| 110 |
+
<a href="index.html" class="bg-indigo-700 text-white px-6 py-2 rounded-full font-medium hover:bg-indigo-800 transition">
|
| 111 |
+
<i class="fas fa-redo mr-2"></i> Analyze Another
|
| 112 |
+
</a>
|
| 113 |
+
</div>
|
| 114 |
+
</div>
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
</body>
|
| 118 |
+
</html>
|