Spaces:
Running
on
Zero
Running
on
Zero
MohamedRashad
commited on
Commit
·
6dcfe26
1
Parent(s):
de6ad3b
Add system commands to install poppler-utils
Browse files
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
|