pragnakalp commited on
Commit
9127753
·
1 Parent(s): b5b0696

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -135,8 +135,7 @@ def generate_ocr(Method,img):
135
 
136
  new_data=img.reshape(img.shape)
137
  imge = Image.fromarray(new_data.astype(np.uint8),'RGB')
138
- feature = Image()
139
- add_csv = [Method,img,text_output]
140
 
141
  with open(DATA_FILE, "a") as f:
142
  writer = csv.writer(f)
 
135
 
136
  new_data=img.reshape(img.shape)
137
  imge = Image.fromarray(new_data.astype(np.uint8),'RGB')
138
+ add_csv = [Method,imge,text_output]
 
139
 
140
  with open(DATA_FILE, "a") as f:
141
  writer = csv.writer(f)