runtime error

Exit code: 1. Reason: .gitattributes: 0%| | 0.00/1.52k [00:00<?, ?B/s] .gitattributes: 100%|██████████| 1.52k/1.52k [00:00<00:00, 13.7MB/s] README.md: 0%| | 0.00/31.0 [00:00<?, ?B/s] README.md: 100%|██████████| 31.0/31.0 [00:00<00:00, 261kB/s] model.pkl: 0%| | 0.00/30.1M [00:00<?, ?B/s] model.pkl: 100%|██████████| 30.1M/30.1M [00:00<00:00, 125MB/s] project.toml: 0%| | 0.00/161 [00:00<?, ?B/s] project.toml: 100%|██████████| 161/161 [00:00<00:00, 1.48MB/s] There is no `pyproject.toml` in the repository that contains the fastai `Learner`. The `pyproject.toml` would allow us to verify that your fastai and fastcore versions are compatible with those of the model you want to load. /usr/local/lib/python3.10/site-packages/fastai/learner.py:455: UserWarning: load_learner` uses Python's insecure pickle module, which can execute malicious arbitrary code when loading. Only load files you trust. If you only need to load model weights and optimizer state, use the safe `Learner.load` instead. warn("load_learner` uses Python's insecure pickle module, which can execute malicious arbitrary code when loading. Only load files you trust.\nIf you only need to load model weights and optimizer state, use the safe `Learner.load` instead.") Traceback (most recent call last): File "/home/user/app/app.py", line 13, in <module> learn = from_pretrained_fastai(model_path) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/fastai_utils.py", line 339, in from_pretrained_fastai return load_learner(os.path.join(storage_folder, "model.pkl")) File "/usr/local/lib/python3.10/site-packages/fastai/learner.py", line 465, in load_learner res.dls.cpu() UnboundLocalError: local variable 'res' referenced before assignment

Container logs:

Fetching error logs...