jinhybr commited on
Commit
2c80e1e
1 Parent(s): b7e4a98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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