Szczotar93 commited on
Commit
e7d1ac5
1 Parent(s): d730c63

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +3 -3
handler.py CHANGED
@@ -12,15 +12,15 @@ import os
12
  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
 
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
- run("sudo apt-get install tesseract-ocr -y", shell=True, check = True)
23
- subprocess.check_call("sudo apt install libtesseract-dev", shell=True)
24
  subprocess.check_call("tesseract --version", shell = True)
25
 
26
 
 
12
  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
 
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, check = True)
23
+ # subprocess.check_call("sudo apt install libtesseract-dev", shell=True)
24
  subprocess.check_call("tesseract --version", shell = True)
25
 
26