runtime error

t Successfully installed antlr4-python3-runtime-4.9.3 cachetools-5.3.3 effdet-0.4.1 google-api-core-1.34.1 google-auth-2.31.0 google-cloud-vision-1.0.0 googleapis-common-protos-1.63.2 grpcio-1.64.1 grpcio-status-1.48.2 iopath-0.1.10 layoutparser-0.3.4 networkx-3.3 nvidia-cublas-cu12-12.1.3.1 nvidia-cudnn-cu12-8.9.2.26 nvidia-cusolver-cu12-11.4.5.107 nvidia-cusparse-cu12-12.1.0.106 omegaconf-2.3.0 opencv-python-4.10.0.84 pdf2image-1.17.0 pdfminer.six-20231228 pdfplumber-0.11.1 portalocker-2.10.0 pyasn1-0.6.0 pyasn1-modules-0.4.0 pycocotools-2.0.8 pypdfium2-4.30.0 pytesseract-0.3.10 rsa-4.9 safetensors-0.4.3 scipy-1.14.0 timm-1.0.7 torch-2.3.1 torchvision-0.18.1 [notice] A new release of pip available: 22.3.1 -> 24.1.1 [notice] To update, run: python -m pip install --upgrade pip Defaulting to user installation because normal site-packages is not writeable Collecting Pillow==9.4.0 Downloading Pillow-9.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 70.8 MB/s eta 0:00:00 Installing collected packages: Pillow Attempting uninstall: Pillow Found existing installation: pillow 10.2.0 Uninstalling pillow-10.2.0: Successfully uninstalled pillow-10.2.0 Successfully installed Pillow-9.4.0 [notice] A new release of pip available: 22.3.1 -> 24.1.1 [notice] To update, run: python -m pip install --upgrade pip Traceback (most recent call last): File "/home/user/app/app.py", line 147, in <module> infer = inference_factory(config_path, model_path, label_map, color_map, examples = examples) File "/home/user/app/app.py", line 31, in inference_factory model: lp.elements.layout.Layout = lp.Detectron2LayoutModel( File "/home/user/.local/lib/python3.10/site-packages/layoutparser/file_utils.py", line 226, in __getattr__ raise AttributeError(f"module {self.__name__} has no attribute {name}") AttributeError: module layoutparser has no attribute Detectron2LayoutModel

Container logs:

Fetching error logs...