MohamedRashad commited on
Commit
6dcfe26
1 Parent(s): de6ad3b

Add system commands to install poppler-utils

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -6,6 +6,7 @@ from pathlib import Path
6
  from pdf2image import convert_from_path
7
  import os
8
 
 
9
  os.system("apt-get install poppler-utils")
10
 
11
  # Load the model and processor
 
6
  from pdf2image import convert_from_path
7
  import os
8
 
9
+ os.system("apt-get update")
10
  os.system("apt-get install poppler-utils")
11
 
12
  # Load the model and processor