eloukas commited on
Commit
74d3a34
·
1 Parent(s): d5a5413

Set TOKENIZERS_PARALLELISM to false in test_run.py

Browse files
Files changed (1) hide show
  1. test_run.py +5 -0
test_run.py CHANGED
@@ -1,5 +1,10 @@
 
 
1
  from gr_nlp_toolkit import Pipeline
2
 
 
 
 
3
  # Use this file only for testing purposes
4
 
5
  nlp_pos_ner_dp = Pipeline(
 
1
+ import os
2
+
3
  from gr_nlp_toolkit import Pipeline
4
 
5
+ os.environ["TOKENIZERS_PARALLELISM"] = "false"
6
+
7
+
8
  # Use this file only for testing purposes
9
 
10
  nlp_pos_ner_dp = Pipeline(