Spaces:
Runtime error
Runtime error
dependency
Browse files- app.py +1 -4
- packages.txt +1 -0
app.py
CHANGED
|
@@ -15,10 +15,7 @@ import string
|
|
| 15 |
import os
|
| 16 |
import re
|
| 17 |
|
| 18 |
-
os.system('
|
| 19 |
-
os.system('sudo apt install tesseract-ocr')
|
| 20 |
-
os.system('sudo apt install libtesseract-dev')
|
| 21 |
-
os.system('python -v your_script.py')
|
| 22 |
import pytesseract
|
| 23 |
|
| 24 |
st.title("Extract info from Files")
|
|
|
|
| 15 |
import os
|
| 16 |
import re
|
| 17 |
|
| 18 |
+
os.system('pip install -q pytesseract')
|
|
|
|
|
|
|
|
|
|
| 19 |
import pytesseract
|
| 20 |
|
| 21 |
st.title("Extract info from Files")
|
packages.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
tesseract-ocr
|