Spaces:
Runtime error
Runtime error
Commit
·
eabfbb5
1
Parent(s):
cd4a4f2
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ except:
|
|
8 |
spacy.cli.download("en_core_web_sm")
|
9 |
|
10 |
st.write("""
|
11 |
-
#
|
12 |
""")
|
13 |
|
14 |
|
@@ -22,7 +22,7 @@ text = st.text_area(label='Job Description', value=description, placeholder='Ple
|
|
22 |
doc = nlp(text)
|
23 |
visualize_ner(doc, labels=nlp.get_pipe("ner").labels)
|
24 |
|
25 |
-
st.subheader('
|
26 |
st.json(
|
27 |
[{'label': entity.label_, 'text': entity.text, 'start': entity.start, 'end': entity.end} \
|
28 |
for entity in doc.ents if entity.ent_id_ == 'SKILLS']
|
|
|
8 |
spacy.cli.download("en_core_web_sm")
|
9 |
|
10 |
st.write("""
|
11 |
+
# Extract the tech keywords on Data Science jobs using NER.
|
12 |
""")
|
13 |
|
14 |
|
|
|
22 |
doc = nlp(text)
|
23 |
visualize_ner(doc, labels=nlp.get_pipe("ner").labels)
|
24 |
|
25 |
+
st.subheader('Tech Keywords')
|
26 |
st.json(
|
27 |
[{'label': entity.label_, 'text': entity.text, 'start': entity.start, 'end': entity.end} \
|
28 |
for entity in doc.ents if entity.ent_id_ == 'SKILLS']
|