nielsr HF staff commited on
Commit
e4e8fdd
1 Parent(s): 3480c73

Fix installation of tesseract

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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