Spaces:
Runtime error
Runtime error
fixed displacy
Browse files- app.py +1 -1
- 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
|
|