lj1995 commited on
Commit
cd7f103
1 Parent(s): 840a900

Update inference_webui.py

Browse files
Files changed (1) hide show
  1. inference_webui.py +2 -0
inference_webui.py CHANGED
@@ -20,6 +20,8 @@ logging.getLogger("multipart.multipart").setLevel(logging.ERROR)
20
  import gradio.analytics as analytics
21
  analytics.version_check = lambda:None
22
  analytics.get_local_ip_address= lambda :"127.0.0.1"##不干掉本地联不通亚马逊的get_local_ip服务器
 
 
23
  import LangSegment, os, re, sys, json
24
  import pdb
25
  import spaces
 
20
  import gradio.analytics as analytics
21
  analytics.version_check = lambda:None
22
  analytics.get_local_ip_address= lambda :"127.0.0.1"##不干掉本地联不通亚马逊的get_local_ip服务器
23
+ import nltk
24
+ nltk.download('averaged_perceptron_tagger_eng')
25
  import LangSegment, os, re, sys, json
26
  import pdb
27
  import spaces