mertguvencli commited on
Commit
efb4b53
Β·
1 Parent(s): bec338a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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("data/patterns.jsonl")
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')