pragnakalp commited on
Commit
799f3ce
1 Parent(s): 3c464d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ Generate OCR
69
  """
70
  def generate_ocr(Method,img):
71
  try:
72
- if img.any():
73
  text_output = ''
74
  add_csv = []
75
  image_id = 1
 
69
  """
70
  def generate_ocr(Method,img):
71
  try:
72
+ if img:
73
  text_output = ''
74
  add_csv = []
75
  image_id = 1