Skip to content

Commit

Permalink
add libgl1 for cv2 in Docker (for unstructured)
Browse files Browse the repository at this point in the history
  • Loading branch information
KastanDay committed Nov 7, 2023
1 parent 8a8eac2 commit cf78800
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion railway.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"setup": {
"aptPkgs": [
"libcap-dev"
"libcap-dev",
"libgl1"
],
"nixPkgs": [
"python310",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ boto3==1.28.79
# ImportError: libcrypt.so.2: cannot open shared object file: No such file or directory
# only safe version of pymupdf is 1.22.5
PyMuPDF==1.23.6
unstructured[xlsx,image,pptx]==0.10.29
unstructured[xlsx,image,pptx]==0.10.29 # causes huge ~5.3 GB of installs. Probbably from onnx: https://github.com/Unstructured-IO/unstructured/blob/ad14321016533dc03c1782f6ebea00bc9c804846/requirements/extra-pdf-image.in#L4
tabulate==0.9.0
pdf2image==1.16.3
typing-inspect==0.9.0
Expand Down

0 comments on commit cf78800

Please sign in to comment.