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