Spaces:
Sleeping
Sleeping
added transformer model
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
|
5 |
#spacy download en_core_web_lg
|
6 |
|
7 |
-
nlp = spacy.load("
|
8 |
def ner(text):
|
9 |
doc = nlp(text)
|
10 |
entities= []
|
|
|
4 |
|
5 |
#spacy download en_core_web_lg
|
6 |
|
7 |
+
nlp = spacy.load("en_core_web_trf")
|
8 |
def ner(text):
|
9 |
doc = nlp(text)
|
10 |
entities= []
|