diff --git a/railway.json b/railway.json index 5a014344..51f73aac 100644 --- a/railway.json +++ b/railway.json @@ -17,7 +17,8 @@ }, "setup": { "aptPkgs": [ - "libcap-dev" + "libcap-dev", + "libgl1" ], "nixPkgs": [ "python310", diff --git a/requirements.txt b/requirements.txt index b3d3912f..8d3585f9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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