dinhquangson commited on
Commit
224565b
1 Parent(s): 82be9ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -174,7 +174,7 @@ async def create_upload_file(file: UploadFile = File(...)):
174
  text=""
175
 
176
  # Extract text from images
177
- for x in fruits:
178
  ocr_text = pytesseract.image_to_string(image,lang='vie')
179
  text=text+ocr_text+'\n'
180
 
 
174
  text=""
175
 
176
  # Extract text from images
177
+ for image in images:
178
  ocr_text = pytesseract.image_to_string(image,lang='vie')
179
  text=text+ocr_text+'\n'
180