Szczotar93
commited on
Commit
•
7805cf7
1
Parent(s):
1125d95
Update handler.py
Browse files- handler.py +2 -0
handler.py
CHANGED
@@ -2,6 +2,8 @@ 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 pandas as pd
|
6 |
+
|
7 |
|
8 |
# install tesseract-ocr and pytesseract
|
9 |
run("apt install -y tesseract-ocr", shell=True, check=True)
|