Spaces:
Runtime error
Runtime error
Fix installation of tesseract
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ os.system('pip install torch==1.8.0+cu101 torchvision==0.9.0+cu101 -f https://do
|
|
9 |
os.system('pip install -q detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.8/index.html')
|
10 |
|
11 |
## install PyTesseract
|
12 |
-
os.system('sudo apt install tesseract-ocr')
|
13 |
os.system('pip install -q pytesseract')
|
14 |
|
15 |
import gradio as gr
|
|
|
9 |
os.system('pip install -q detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.8/index.html')
|
10 |
|
11 |
## install PyTesseract
|
12 |
+
os.system('sudo apt-get install tesseract-ocr')
|
13 |
os.system('pip install -q pytesseract')
|
14 |
|
15 |
import gradio as gr
|