Spaces:
Sleeping
Sleeping
Update inference_webui.py
Browse files- 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
|