Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
import en_core_web_md
|
2 |
-
nlp = en_core_web_md.load()
|
3 |
|
4 |
import gradio as gr
|
5 |
import spacy
|
@@ -8,7 +6,7 @@ from spacy.language import Language
|
|
8 |
from spacy.matcher import PhraseMatcher
|
9 |
from spacy.tokens import Span
|
10 |
|
11 |
-
|
12 |
|
13 |
def load(txt1, txt2, txt3, txt4):
|
14 |
user_input = str(txt1.strip())
|
|
|
|
|
|
|
1 |
|
2 |
import gradio as gr
|
3 |
import spacy
|
|
|
6 |
from spacy.matcher import PhraseMatcher
|
7 |
from spacy.tokens import Span
|
8 |
|
9 |
+
nlp = spacy.load("en_core_web_md")
|
10 |
|
11 |
def load(txt1, txt2, txt3, txt4):
|
12 |
user_input = str(txt1.strip())
|