Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ from transformers import LayoutLMv3Processor, LayoutLMv3ForTokenClassification
|
|
25 |
from datasets import load_dataset
|
26 |
from PIL import Image, ImageDraw, ImageFont
|
27 |
|
28 |
-
processor = LayoutLMv3Processor.from_pretrained("
|
29 |
model = LayoutLMv3ForTokenClassification.from_pretrained(
|
30 |
"jinhybr/LiLt-funsd-en"
|
31 |
)
|
|
|
25 |
from datasets import load_dataset
|
26 |
from PIL import Image, ImageDraw, ImageFont
|
27 |
|
28 |
+
processor = LayoutLMv3Processor.from_pretrained("SCUT-DLVCLab/lilt-roberta-en-base")
|
29 |
model = LayoutLMv3ForTokenClassification.from_pretrained(
|
30 |
"jinhybr/LiLt-funsd-en"
|
31 |
)
|