Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ model = LayoutLMv3Processor.from_pretrained(
|
|
39 |
|
40 |
# load image example
|
41 |
dataset = load_dataset("nielsr/funsd-layoutlmv3", split="test")
|
42 |
-
image = Image.open(dataset[0]["image"]).convert("RGB")
|
43 |
image = Image.open("./example_lm3.png")
|
44 |
image.save("document.png")
|
45 |
|
|
|
39 |
|
40 |
# load image example
|
41 |
dataset = load_dataset("nielsr/funsd-layoutlmv3", split="test")
|
42 |
+
#image = Image.open(dataset[0]["image"]).convert("RGB")
|
43 |
image = Image.open("./example_lm3.png")
|
44 |
image.save("document.png")
|
45 |
|