ucaslcl commited on
Commit
5a724fe
1 Parent(s): 07b5d13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -11,6 +11,7 @@ model = model.eval().cuda()
11
  @spaces.GPU
12
  def run_GOT(image_array, got_mode, ocr_box="", ocr_color=""):
13
  print("image_array: ", image_array)
 
14
  # image = Image.fromarray(np.uint8(image_array))
15
  image = image_array
16
  if got_mode == "plain texts OCR":
 
11
  @spaces.GPU
12
  def run_GOT(image_array, got_mode, ocr_box="", ocr_color=""):
13
  print("image_array: ", image_array)
14
+ print(got_mode, ' ', ocr_box, ' ', ocr_color)
15
  # image = Image.fromarray(np.uint8(image_array))
16
  image = image_array
17
  if got_mode == "plain texts OCR":