keldrenloy commited on
Commit
376d657
1 Parent(s): f7b9192

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ def predict(image):
111
 
112
  menu_list = []
113
  price_list = []
114
- for idx,item in enumerate(final_result):
115
  if item[1] == 'MENU.NM':
116
  menu_list.append(f"item {idx}.{item[0]}")
117
  if item[1] == 'MENU.PRICE':
 
111
 
112
  menu_list = []
113
  price_list = []
114
+ for idx,item in enumerate(extracted_words):
115
  if item[1] == 'MENU.NM':
116
  menu_list.append(f"item {idx}.{item[0]}")
117
  if item[1] == 'MENU.PRICE':