Update on_startup.sh
Browse files- on_startup.sh +6 -15
on_startup.sh
CHANGED
@@ -1,22 +1,13 @@
|
|
1 |
#!/bin/bash
|
2 |
sudo pip install -U jupyter
|
|
|
3 |
conda install -c conda-forge tesseract
|
4 |
pip install -r https://raw.githubusercontent.com/stafazzoli/FarsiOCR/master/requirements.txt
|
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 |
-
|
10 |
-
|
11 |
-
sudo
|
12 |
-
apt install
|
13 |
-
|
14 |
-
pip install sentencepiece
|
15 |
-
pip install keras_nlp
|
16 |
-
pip install -U scikit-learn scipy matplotlib
|
17 |
-
pip install pandas
|
18 |
-
pip install huggingface_hub
|
19 |
-
# Write some commands here that will run on root user before startup.
|
20 |
-
# For example, to clone transformers and install it in dev mode:
|
21 |
-
# git clone https://github.com/huggingface/transformers.git
|
22 |
-
# cd transformers && pip install -e ".[dev]"
|
|
|
1 |
#!/bin/bash
|
2 |
sudo pip install -U jupyter
|
3 |
+
apt update && apt upgrade
|
4 |
conda install -c conda-forge tesseract
|
5 |
pip install -r https://raw.githubusercontent.com/stafazzoli/FarsiOCR/master/requirements.txt
|
|
|
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 |
+
conda install -c conda-forge poppler -y
|
10 |
+
sudo conda install -c conda-forge poppler -y
|
11 |
+
sudo apt-get install -y poppler-utils
|
12 |
+
apt-get install -y poppler-utils
|
13 |
+
apt install wget
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|