Szczotar93 commited on
Commit
e84516e
1 Parent(s): 3a17896

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -2,6 +2,7 @@ from typing import Dict, List, Any
2
  from transformers import LayoutLMForTokenClassification, LayoutLMv2Processor
3
  import torch
4
  from subprocess import run
 
5
 
6
  # install tesseract-ocr and pytesseract
7
  # run("apt install -y tesseract-ocr", shell=True, check=True)
 
2
  from transformers import LayoutLMForTokenClassification, LayoutLMv2Processor
3
  import torch
4
  from subprocess import run
5
+ import os
6
 
7
  # install tesseract-ocr and pytesseract
8
  # run("apt install -y tesseract-ocr", shell=True, check=True)