jhonparra18 commited on
Commit
e5f08ab
·
1 Parent(s): 9f849d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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í","Ivan Ducales, hablo ingles B2 y tengo conocimientos en Java y Python, web development, postgres. he trabajado como web developer y back-end developer")
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)