Tanor commited on
Commit
7810ff4
1 Parent(s): 06939ff

fixed displacy

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +0 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  import spacy
3
- import displacy
4
 
5
  nlp = spacy.load("sr_ner_tesla_j125")
6
 
 
1
  import gradio as gr
2
  import spacy
3
+ from spacy import displacy
4
 
5
  nlp = spacy.load("sr_ner_tesla_j125")
6
 
requirements.txt CHANGED
@@ -1,2 +1 @@
1
  https://huggingface.co/Tanor/sr_ner_tesla_j125/resolve/main/sr_ner_tesla_j125-any-py3-none-any.whl
2
- displaCy
 
1
  https://huggingface.co/Tanor/sr_ner_tesla_j125/resolve/main/sr_ner_tesla_j125-any-py3-none-any.whl