Ammar-alhaj-ali commited on
Commit
934c0be
1 Parent(s): 3ac0a19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import torch
8
  import PIL
9
  import gradio as gr
10
  import numpy as np
11
- from transformers import LayoutLMv3ForTokenClassification
12
  from datasets import load_dataset
13
  from PIL import Image, ImageDraw, ImageFont
14
 
 
8
  import PIL
9
  import gradio as gr
10
  import numpy as np
11
+ from transformers import LayoutLMv3ForTokenClassification,LayoutLMv3Processor
12
  from datasets import load_dataset
13
  from PIL import Image, ImageDraw, ImageFont
14