robocan commited on
Commit
e1b7b71
·
1 Parent(s): 3206e36

Update on_startup.sh

Browse files
Files changed (1) hide show
  1. on_startup.sh +2 -0
on_startup.sh CHANGED
@@ -2,10 +2,12 @@
2
  sudo pip install -U jupyter
3
  pip install opencv-python
4
  pip install pytesseract
 
5
  sudo apt update && apt upgrade
6
  sudo apt-get update && apt-get install libgl1
7
  RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
8
  sudo apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
 
9
  apt install wget
10
  pip install tensorflow
11
  pip install sentencepiece
 
2
  sudo pip install -U jupyter
3
  pip install opencv-python
4
  pip install pytesseract
5
+ pip install pdf2image
6
  sudo apt update && apt upgrade
7
  sudo apt-get update && apt-get install libgl1
8
  RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
9
  sudo apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
10
+ sudo mkdir -p /usr/local/share/tessdata && wget -O /usr/local/share/tessdata/fas.traineddata "https://github.com/tesseract-ocr/tessdata/raw/main/fas.traineddata"
11
  apt install wget
12
  pip install tensorflow
13
  pip install sentencepiece