iioSnail commited on
Commit
f3a7c66
·
1 Parent(s): a30567c

Upload bert_tokenizer.py

Browse files
Files changed (1) hide show
  1. bert_tokenizer.py +1 -1
bert_tokenizer.py CHANGED
@@ -35,7 +35,7 @@ def download_file(filename: str):
35
  "iioSnail/chinesebert-base",
36
  filename,
37
  cache_dir=cache_path,
38
- user_agent=http_user_agent(None),
39
  )
40
  time.sleep(0.2)
41
 
 
35
  "iioSnail/chinesebert-base",
36
  filename,
37
  cache_dir=cache_path,
38
+ user_agent=http_user_agent(),
39
  )
40
  time.sleep(0.2)
41