Update app.py
Browse files
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 |
-
|
|
|
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
|