Soumen commited on
Commit
44f2929
1 Parent(s): 2fbd614

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -22,7 +22,8 @@ os.system('sudo apt-get install tesseract-ocr-eng')
22
  os.system('sudo apt-get install tesseract-ocr-ben')
23
  #os.system('sudo apt update')
24
  os.system('pip install -q pytesseract')
25
- os.system('export TESSDATA_PREFIX= /usr/share/tesseract-ocr/4.00/tessdata')
 
26
  import streamlit as st
27
  import os
28
  import torch
 
22
  os.system('sudo apt-get install tesseract-ocr-ben')
23
  #os.system('sudo apt update')
24
  os.system('pip install -q pytesseract')
25
+ os.system('export TESSDATA_PREFIX= /usr/share/tesseract-ocr/4.00/tessdata/ben.traineddata')
26
+ os.system('export TESSDATA_PREFIX= /usr/share/tesseract-ocr/4.00/tessdata/eng.traineddata')
27
  import streamlit as st
28
  import os
29
  import torch