Szczotar93
commited on
Commit
•
b4658aa
1
Parent(s):
23a3191
Update handler.py
Browse files- handler.py +6 -1
handler.py
CHANGED
@@ -13,11 +13,16 @@ subprocess.check_call("mkdir -p /data", shell = True)
|
|
13 |
subprocess.check_call("chmod 777 /data", shell = True)
|
14 |
|
15 |
subprocess.check_call("apt-get update", shell = True)
|
16 |
-
# subprocess.check_call("apt-get install git-lfs" ,shell = True)
|
17 |
|
|
|
18 |
# subprocess.check_call("mkdir -p /var/lib/dpkg", shell = True)
|
19 |
# subprocess.check_call("id",shell = True)
|
|
|
|
|
20 |
subprocess.check_call("apt-get install tesseract-ocr -y", shell=True)
|
|
|
|
|
|
|
21 |
|
22 |
# os.system('chmod 777 /tmp')
|
23 |
# os.system('apt-get update -y')
|
|
|
13 |
subprocess.check_call("chmod 777 /data", shell = True)
|
14 |
|
15 |
subprocess.check_call("apt-get update", shell = True)
|
|
|
16 |
|
17 |
+
# subprocess.check_call("apt-get install git-lfs" ,shell = True)
|
18 |
# subprocess.check_call("mkdir -p /var/lib/dpkg", shell = True)
|
19 |
# subprocess.check_call("id",shell = True)
|
20 |
+
|
21 |
+
|
22 |
subprocess.check_call("apt-get install tesseract-ocr -y", shell=True)
|
23 |
+
subprocess.check_call("apt install libtesseract-dev", shell=True)
|
24 |
+
subprocess.check_call("tesseract --version", shell = True)
|
25 |
+
|
26 |
|
27 |
# os.system('chmod 777 /tmp')
|
28 |
# os.system('apt-get update -y')
|