pragnakalp commited on
Commit
5454a24
1 Parent(s): c8cfd54

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
 
72
- if img:
73
  text_output = ''
74
  add_csv = []
75
  image_id = 1
 
69
  """
70
  def generate_ocr(Method,img):
71
 
72
+ if (img).any():
73
  text_output = ''
74
  add_csv = []
75
  image_id = 1