crowles commited on
Commit
bc04243
·
verified ·
1 Parent(s): 6f49f90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import subprocess
4
 
5
  try:
6
  # Run the apt-get install command
7
- subprocess.run(['sudo', 'apt-get', 'install', '-y', 'poppler-utils', 'tesseract-ocr', 'tesseract-ocr-eng'], check=True)
8
  print("Packages installed successfully!")
9
  except subprocess.CalledProcessError as e:
10
  print(f"An error occurred: {e}")
 
4
 
5
  try:
6
  # Run the apt-get install command
7
+ subprocess.run(['apt-get', 'install', '-y', 'poppler-utils', 'tesseract-ocr', 'tesseract-ocr-eng'], check=True)
8
  print("Packages installed successfully!")
9
  except subprocess.CalledProcessError as e:
10
  print(f"An error occurred: {e}")