iakarshu commited on
Commit
6a57b55
·
1 Parent(s): f8ab8da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -13,6 +13,9 @@ os.system('pip install pyyaml==5.1')
13
  ## install PyTesseract
14
  os.system('pip install -q pytesseract')
15
 
 
 
 
16
  ## Importing the functions from the DocFormer Repo
17
  from dataset import create_features
18
  from modeling import DocFormerEncoder,ResNetFeatureExtractor,DocFormerEmbeddings,LanguageFeatureExtractor
 
13
  ## install PyTesseract
14
  os.system('pip install -q pytesseract')
15
 
16
+ import os
17
+ os.environ["TOKENIZERS_PARALLELISM"] = "false"
18
+
19
  ## Importing the functions from the DocFormer Repo
20
  from dataset import create_features
21
  from modeling import DocFormerEncoder,ResNetFeatureExtractor,DocFormerEmbeddings,LanguageFeatureExtractor