Spaces:
Runtime error
Runtime error
Commit
·
e5f08ab
1
Parent(s):
9f849d9
Update app.py
Browse files
app.py
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
import spacy
|
2 |
import streamlit as st
|
3 |
import spacy_streamlit
|
4 |
-
from config import COLORS_NER
|
5 |
|
6 |
nlp = spacy.load("ner_model")
|
7 |
|
8 |
st.title("SpaCy NER Model")
|
9 |
st.header("Entidades en el texto de un curriculum-cv")
|
10 |
|
11 |
-
cv_text=st.text_input("Ingrese texto de cv aquí",
|
12 |
|
13 |
if cv_text is not None:
|
14 |
doc= nlp(cv_text)
|
|
|
1 |
import spacy
|
2 |
import streamlit as st
|
3 |
import spacy_streamlit
|
4 |
+
from config import COLORS_NER,DEFAULT_CV
|
5 |
|
6 |
nlp = spacy.load("ner_model")
|
7 |
|
8 |
st.title("SpaCy NER Model")
|
9 |
st.header("Entidades en el texto de un curriculum-cv")
|
10 |
|
11 |
+
cv_text=st.text_input("Ingrese texto de cv aquí",DEFAULT_CV)
|
12 |
|
13 |
if cv_text is not None:
|
14 |
doc= nlp(cv_text)
|