Szczotar93 commited on
Commit
31eca6b
1 Parent(s): 6e228b7

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +3 -0
handler.py CHANGED
@@ -9,6 +9,9 @@ import os
9
  # run("apt install -y tesseract-ocr", shell=True, check=True)
10
  # run("pip install pytesseract", shell=True, check=True)
11
 
 
 
 
12
  subprocess.check_call("mkdir -p /var/lib/dpkg", shell = True)
13
  subprocess.check_call("id",shell = True)
14
  subprocess.check_call("apt-get install tesseract-ocr -y", shell=True)
 
9
  # run("apt install -y tesseract-ocr", shell=True, check=True)
10
  # run("pip install pytesseract", shell=True, check=True)
11
 
12
+ subprocess.check_call("!sudo apt-get update", shell = True)
13
+ subprocess.check_call("!sudo apt-get install git-lfs" ,shell = True)
14
+
15
  subprocess.check_call("mkdir -p /var/lib/dpkg", shell = True)
16
  subprocess.check_call("id",shell = True)
17
  subprocess.check_call("apt-get install tesseract-ocr -y", shell=True)