Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from neo4j_connectors import GraphDB
|
| 3 |
-
from skill_extraction import
|
| 4 |
from recommender import generate_recommendations
|
| 5 |
import uuid
|
| 6 |
from pypdf import PdfReader
|
|
@@ -32,7 +32,8 @@ def run_pipeline(education, status, role, file):
|
|
| 32 |
|
| 33 |
# Read file and extract skills
|
| 34 |
text = read_file(file)
|
| 35 |
-
|
|
|
|
| 36 |
|
| 37 |
# Add skills to Neo4j
|
| 38 |
for skill, conf in skills:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from neo4j_connectors import GraphDB
|
| 3 |
+
from skill_extraction import extract_skills_model
|
| 4 |
from recommender import generate_recommendations
|
| 5 |
import uuid
|
| 6 |
from pypdf import PdfReader
|
|
|
|
| 32 |
|
| 33 |
# Read file and extract skills
|
| 34 |
text = read_file(file)
|
| 35 |
+
|
| 36 |
+
skills = extract_skills_model(text)
|
| 37 |
|
| 38 |
# Add skills to Neo4j
|
| 39 |
for skill, conf in skills:
|