Shunfeng Zheng commited on
Commit
bd710a8
·
verified ·
1 Parent(s): e22c7fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -5,7 +5,7 @@ import spacy
5
  from spacy import displacy
6
  import pandas as pd
7
 
8
- # os.system("python -m spacy download en_core_web_md")
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
- # import gradio as gr
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>"