runtime error

9.4MB/s] Downloading pytorch_model.bin: 85%|████████▍ | 682M/802M [00:07<00:01, 96.7MB/s] Downloading pytorch_model.bin: 88%|████████▊ | 703M/802M [00:07<00:00, 100MB/s] Downloading pytorch_model.bin: 90%|█████████ | 724M/802M [00:07<00:00, 107MB/s] Downloading pytorch_model.bin: 93%|█████████▎| 744M/802M [00:07<00:00, 114MB/s] Downloading pytorch_model.bin: 95%|█████████▌| 765M/802M [00:07<00:00, 112MB/s] Downloading pytorch_model.bin: 98%|█████████▊| 786M/802M [00:07<00:00, 116MB/s] Downloading pytorch_model.bin: 100%|██████████| 802M/802M [00:08<00:00, 121MB/s] Downloading pytorch_model.bin: 100%|██████████| 802M/802M [00:08<00:00, 99.8MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 14, in <module> model = LayoutLMv2ForTokenClassification.from_pretrained("Theivaprakasham/layoutlmv2-finetuned-sroie") File "/home/user/.local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3087, in from_pretrained model = cls(config, *model_args, **model_kwargs) File "/home/user/.local/lib/python3.10/site-packages/transformers/models/layoutlmv2/modeling_layoutlmv2.py", line 1149, in __init__ self.layoutlmv2 = LayoutLMv2Model(config) File "/home/user/.local/lib/python3.10/site-packages/transformers/models/layoutlmv2/modeling_layoutlmv2.py", line 704, in __init__ requires_backends(self, "detectron2") File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1212, in requires_backends raise ImportError("".join(failed)) ImportError: LayoutLMv2Model requires the detectron2 library but it was not found in your environment. Checkout the instructions on the installation page: https://github.com/facebookresearch/detectron2/blob/master/INSTALL.md and follow the ones that match your environment. Please note that you may need to restart your runtime after installation.

Container logs:

Fetching error logs...