Spaces:
Running
Running
Shunfeng Zheng
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import spacy
|
|
5 |
from spacy import displacy
|
6 |
import pandas as pd
|
7 |
|
8 |
-
|
9 |
|
10 |
nlp = spacy.load("en_core_web_md")
|
11 |
def process_api(input_text):
|
@@ -27,11 +27,7 @@ gr.Interface(
|
|
27 |
).launch()
|
28 |
|
29 |
|
30 |
-
|
31 |
-
# import spacy
|
32 |
-
# from spacy import displacy
|
33 |
-
# import pandas as pd
|
34 |
-
# import time
|
35 |
|
36 |
# nlp = spacy.load("en_core_web_md")
|
37 |
# HTML_WRAPPER = "<div style='padding: 10px;'>{}</div>"
|
|
|
5 |
from spacy import displacy
|
6 |
import pandas as pd
|
7 |
|
8 |
+
|
9 |
|
10 |
nlp = spacy.load("en_core_web_md")
|
11 |
def process_api(input_text):
|
|
|
27 |
).launch()
|
28 |
|
29 |
|
30 |
+
|
|
|
|
|
|
|
|
|
31 |
|
32 |
# nlp = spacy.load("en_core_web_md")
|
33 |
# HTML_WRAPPER = "<div style='padding: 10px;'>{}</div>"
|