JustKiddo commited on
Commit
9a8b1ae
·
verified ·
1 Parent(s): 243d9ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -6,9 +6,6 @@ import gradio as gr
6
  import torch
7
  import easyocr
8
 
9
- processor = AutoProcessor.from_pretrained("Sharka/CIVQA_LayoutLMv2_EasyOCR")
10
- model = AutoModelForDocumentQuestionAnswering.from_pretrained("Sharka/CIVQA_LayoutLMv2_EasyOCR")
11
-
12
  def draw_boxes(image, bounds, color='red', width=2):
13
  draw = ImageDraw.Draw(image)
14
  for bound in bounds:
 
6
  import torch
7
  import easyocr
8
 
 
 
 
9
  def draw_boxes(image, bounds, color='red', width=2):
10
  draw = ImageDraw.Draw(image)
11
  for bound in bounds: