MikkoLipsanen commited on
Commit
59b1228
·
verified ·
1 Parent(s): 0dfb952

Change line_threshold to batch_size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def get_recognizer():
55
  recognizer = TextRecognition(
56
  model_path = TROCR_MODEL_PATH,
57
  device = 'cuda:0',
58
- line_threshold = 10
59
  )
60
  return recognizer
61
  except Exception as e:
 
55
  recognizer = TextRecognition(
56
  model_path = TROCR_MODEL_PATH,
57
  device = 'cuda:0',
58
+ batch_size = 10
59
  )
60
  return recognizer
61
  except Exception as e: