Spaces:
Running
on
Zero
Running
on
Zero
Set TOKENIZERS_PARALLELISM to false in test_run.py
Browse files- 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(
|