File size: 966 Bytes
e08a3a6
a13b505
3206e36
e1b7b71
9c7a4df
 
 
443384f
 
 
 
e1b7b71
6ebfee3
eb23f33
 
 
35ff902
eb23f33
 
e08a3a6
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
sudo pip install -U jupyter
pip install opencv-python
pip install pdf2image
sudo apt install tesseract-ocr
sudo apt install libtesseract-dev
pip install pytesseract
sudo apt update && apt upgrade
sudo apt-get update && apt-get install libgl1
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6  -y
sudo apt-get update && apt-get install ffmpeg libsm6 libxext6  -y
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"
apt install wget
pip install tensorflow
pip install sentencepiece
pip install keras_nlp
pip install -U scikit-learn scipy matplotlib
pip install pandas
pip install huggingface_hub
# Write some commands here that will run on root user before startup.
# For example, to clone transformers and install it in dev mode:
# git clone https://github.com/huggingface/transformers.git
# cd transformers && pip install -e ".[dev]"