RASMUS commited on
Commit
e0c102d
·
1 Parent(s): 1817015

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def create_data(files):
41
  for file in files:
42
  if file.name.endswith('png') or file.name.endswith('.jpg'):
43
  try:
44
- question_context += (pytesseract.image_to_string(Image.open(file.name), lang='fin')) + '\n\n'
45
  except Exception as e:
46
  print(e)
47
  pass
 
41
  for file in files:
42
  if file.name.endswith('png') or file.name.endswith('.jpg'):
43
  try:
44
+ question_context += (pytesseract.image_to_string(Image.open(file.name), lang='en')) + '\n\n'
45
  except Exception as e:
46
  print(e)
47
  pass