lafi23333 commited on
Commit
dd8a2fd
1 Parent(s): 7e87976

Update text/__init__.py

Browse files
Files changed (1) hide show
  1. text/__init__.py +1 -6
text/__init__.py CHANGED
@@ -35,12 +35,7 @@ def check_bert_models():
35
  from config import config
36
  from .bert_utils import _check_bert
37
 
38
- if config.mirror.lower() == "openi":
39
- import openi
40
-
41
- kwargs = {"token": config.openi_token} if config.openi_token else {}
42
- openi.login(**kwargs)
43
-
44
  with open("./bert/bert_models.json", "r") as fp:
45
  models = json.load(fp)
46
  for k, v in models.items():
 
35
  from config import config
36
  from .bert_utils import _check_bert
37
 
38
+
 
 
 
 
 
39
  with open("./bert/bert_models.json", "r") as fp:
40
  models = json.load(fp)
41
  for k, v in models.items():