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