Spaces:
Runtime error
Runtime error
Commit
·
5ab2465
1
Parent(s):
e7321fc
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
import spacy
|
2 |
import gradio as gr
|
3 |
|
4 |
-
nlp =
|
5 |
|
6 |
def ner(sentence):
|
7 |
doc = nlp(sentence)
|
|
|
1 |
+
import spacy
|
2 |
import gradio as gr
|
3 |
|
4 |
+
nlp = spacy.load("en_core_web_sm")
|
5 |
|
6 |
def ner(sentence):
|
7 |
doc = nlp(sentence)
|