Spaces:
Sleeping
Sleeping
Update button_click_alt.py
Browse files- 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
|
| 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:
|