ethanrom commited on
Commit
de1f3dc
·
1 Parent(s): b97ae58

Update button_click_alt.py

Browse files
Files changed (1) hide show
  1. button_click_alt.py +1 -1
button_click_alt.py CHANGED
@@ -30,7 +30,7 @@ def infer_text(im):
30
 
31
 
32
  def find_order_id(uploaded_file, input_file, model, ocre):
33
- if ocr_engine == 'Hive':
34
  uploaded_image = Image.open(uploaded_file)
35
  text = infer_text(uploaded_image)
36
  else:
 
30
 
31
 
32
  def find_order_id(uploaded_file, input_file, model, ocre):
33
+ if ocre == 'Hive':
34
  uploaded_image = Image.open(uploaded_file)
35
  text = infer_text(uploaded_image)
36
  else: