Spaces:
Runtime error
Runtime error
Commit
Β·
efb4b53
1
Parent(s):
bec338a
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
from numpy import place
|
2 |
import spacy
|
3 |
import streamlit as st
|
4 |
from spacy_streamlit import visualize_ner
|
@@ -15,7 +14,7 @@ st.write("""
|
|
15 |
|
16 |
nlp = spacy.load("en_core_web_sm")
|
17 |
ruler = nlp.add_pipe("entity_ruler", before="ner")
|
18 |
-
ruler.from_disk("
|
19 |
|
20 |
description = "Built with love π Python, Spacy, Streamlit and Huggingface π€"
|
21 |
text = st.text_area(label='Job Description', value=description, placeholder='Please enter a job description')
|
|
|
|
|
1 |
import spacy
|
2 |
import streamlit as st
|
3 |
from spacy_streamlit import visualize_ner
|
|
|
14 |
|
15 |
nlp = spacy.load("en_core_web_sm")
|
16 |
ruler = nlp.add_pipe("entity_ruler", before="ner")
|
17 |
+
ruler.from_disk("patterns.jsonl")
|
18 |
|
19 |
description = "Built with love π Python, Spacy, Streamlit and Huggingface π€"
|
20 |
text = st.text_area(label='Job Description', value=description, placeholder='Please enter a job description')
|