pragnakalp commited on
Commit
b00eb28
1 Parent(s): 8c1efc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -86,7 +86,9 @@ Generate OCR
86
  def generate_ocr(Method,img):
87
 
88
  text_output = ''
89
- if (img).any():
 
 
90
  add_csv = []
91
  image_id = 1
92
  print("Method___________________",Method)
 
86
  def generate_ocr(Method,img):
87
 
88
  text_output = ''
89
+ print("\n\n img :",(img).any())
90
+ print("\n\n image :",img)
91
+ if img:
92
  add_csv = []
93
  image_id = 1
94
  print("Method___________________",Method)