Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,3 +11,79 @@ license: mit
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 14 |
+
SkillSense - Graph-based Skill Recommendation System
|
| 15 |
+
|
| 16 |
+
Challenge Tackled: Structured skill profile generation with evidence and confidence scores ✅
|
| 17 |
+
Recommendation of skills based on users who share similar interests (this enables skill-gap analysis) ✅
|
| 18 |
+
Limited training data: user interactions, interested roles, skills stored in a graph to improve future recommendations✅
|
| 19 |
+
Mutli-source support- system takes pdf, docx format of resume, professional summaries, portfolio or linked pages as pdf, docx ✅
|
| 20 |
+
Scalability- graph expands as more users interact with the system, improving the quality of recommendations ✅
|
| 21 |
+
|
| 22 |
+
Setup & Deployment (Developer Instructions)
|
| 23 |
+
|
| 24 |
+
The application can be run locally or deployed on Hugging Face Spaces. Below are the steps for both workflows.
|
| 25 |
+
|
| 26 |
+
1. Clone the Repository
|
| 27 |
+
git clone <your-repo-url>
|
| 28 |
+
cd <repo-folder-name>
|
| 29 |
+
|
| 30 |
+
2. Create and Activate a Virtual Environment (Recommended)
|
| 31 |
+
python3 -m venv venv
|
| 32 |
+
source venv/bin/activate # Mac/Linux
|
| 33 |
+
venv\Scripts\activate # Windows
|
| 34 |
+
|
| 35 |
+
3. Install Dependencies
|
| 36 |
+
pip install -r requirements.txt
|
| 37 |
+
|
| 38 |
+
4. Configure Secrets
|
| 39 |
+
|
| 40 |
+
The application uses environment variables for API keys (Neo4j credentials).
|
| 41 |
+
|
| 42 |
+
Local Development:
|
| 43 |
+
|
| 44 |
+
Create a .env file:
|
| 45 |
+
|
| 46 |
+
NEO4J_URI=<your-uri>
|
| 47 |
+
NEO4J_USER=<your-user>
|
| 48 |
+
NEO4J_PASSWORD=<your-password>
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
Hugging Face Deployment:
|
| 52 |
+
|
| 53 |
+
On your Space page:
|
| 54 |
+
|
| 55 |
+
Settings → Variables and Secrets → Add Secrets
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
Add each key exactly as referenced in app.py.
|
| 59 |
+
|
| 60 |
+
5. Run Locally
|
| 61 |
+
python app.py
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
The UI will open in your browser (typically at http://127.0.0.1:7860).
|
| 65 |
+
|
| 66 |
+
Deploying to Hugging Face Spaces
|
| 67 |
+
|
| 68 |
+
Go to: https://huggingface.co/spaces
|
| 69 |
+
|
| 70 |
+
Click Create New Space
|
| 71 |
+
|
| 72 |
+
Choose:
|
| 73 |
+
|
| 74 |
+
Space SDK: Gradio
|
| 75 |
+
|
| 76 |
+
Visibility: Public or Private
|
| 77 |
+
|
| 78 |
+
Either:
|
| 79 |
+
|
| 80 |
+
Upload your project files, or
|
| 81 |
+
|
| 82 |
+
Select “Repository → Add Files → Upload directory”
|
| 83 |
+
|
| 84 |
+
Or push from local:
|
| 85 |
+
git remote add origin https://huggingface.co/spaces/<user>/<space-name>
|
| 86 |
+
git push --set-upstream origin main
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
As soon as the repository contains app.py (or main.py) and requirements.txt, the Space will auto-build and launch.
|