Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|