Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -11,9 +11,10 @@
|
|
11 |
|
12 |
#importing required libraries
|
13 |
import os
|
14 |
-
|
15 |
#os.system('pip install -q pytesseract')
|
16 |
os.system('pip install -q pytesseract')
|
|
|
17 |
|
18 |
import pytesseract
|
19 |
from PIL import Image, ImageFont, ImageDraw
|
|
|
11 |
|
12 |
#importing required libraries
|
13 |
import os
|
14 |
+
os.system('apt-get install tesseract-ocr')
|
15 |
#os.system('pip install -q pytesseract')
|
16 |
os.system('pip install -q pytesseract')
|
17 |
+
#sudo apt-get install tesseract-ocr
|
18 |
|
19 |
import pytesseract
|
20 |
from PIL import Image, ImageFont, ImageDraw
|