tdubon commited on
Commit
2ad1ae1
·
1 Parent(s): 4e22b6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,5 +1,5 @@
1
- git lfs install
2
- git clone https://huggingface.co/spacy/en_core_web_md
3
 
4
  import gradio as gr
5
  import spacy
@@ -8,7 +8,7 @@ from spacy.language import Language
8
  from spacy.matcher import PhraseMatcher
9
  from spacy.tokens import Span
10
 
11
- nlp = spacy.load("en_core_web_md")
12
 
13
  def load(txt1, txt2, txt3, txt4):
14
  user_input = str(txt1.strip())
 
1
+ import en_core_web_md
2
+ nlp = en_core_web_md.load()
3
 
4
  import gradio as gr
5
  import spacy
 
8
  from spacy.matcher import PhraseMatcher
9
  from spacy.tokens import Span
10
 
11
+ #nlp = spacy.load("en_core_web_md")
12
 
13
  def load(txt1, txt2, txt3, txt4):
14
  user_input = str(txt1.strip())