VasudevaK commited on
Commit
cfb1665
·
1 Parent(s): 4b7fbe5

dependency

Browse files
Files changed (2) hide show
  1. app.py +4 -0
  2. requirements.txt +1 -3
app.py CHANGED
@@ -15,6 +15,10 @@ import string
15
  import os
16
  import re
17
 
 
 
 
 
18
  import pytesseract
19
 
20
  st.title("Extract info from Files")
 
15
  import os
16
  import re
17
 
18
+ os.system(sudo apt update)
19
+ os.system(sudo apt install tesseract-ocr)
20
+ os.system(sudo apt install libtesseract-dev)
21
+
22
  import pytesseract
23
 
24
  st.title("Extract info from Files")
requirements.txt CHANGED
@@ -5,6 +5,4 @@ yake
5
  gtts
6
  sklearn
7
  PILLOW
8
- PyMuPDF
9
- pytesseract
10
- tesseract
 
5
  gtts
6
  sklearn
7
  PILLOW
8
+ PyMuPDF