Soumen commited on
Commit
275c70c
1 Parent(s): e3e6c8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -18,9 +18,11 @@ To perform basic and useful NLP task with Streamlit, Spacy, Textblob and Gensim
18
  """
19
  # Core Pkgs
20
  import os
21
- os.system('sudo apt-get install tesseract-ocr-*')
 
22
  #os.system('sudo apt update')
23
- #os.system('pip install -q pytesseract')
 
24
  import streamlit as st
25
  import os
26
  import torch
 
18
  """
19
  # Core Pkgs
20
  import os
21
+ 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