runtime error

/87.7M [00:01<00:00, 42.4MB/s] Downloading model.pkl: 84%|████████▎ | 73.4M/87.7M [00:01<00:00, 61.7MB/s] Downloading model.pkl: 96%|█████████▌| 83.9M/87.7M [00:01<00:00, 67.8MB/s] Downloading model.pkl: 100%|██████████| 87.7M/87.7M [00:01<00:00, 56.6MB/s] Fetching 2 files: 100%|██████████| 2/2 [00:01<00:00, 1.11it/s] Fetching 2 files: 100%|██████████| 2/2 [00:01<00:00, 1.11it/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. Traceback (most recent call last): File "app.py", line 4, in <module> learner = from_pretrained_fastai("g-singh/aqi-prediction-model") File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/fastai_utils.py", line 340, in from_pretrained_fastai return load_learner(os.path.join(storage_folder, "model.pkl")) File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 446, in load_learner try: res = torch.load(fname, map_location=map_loc, pickle_module=pickle_module) File "/home/user/.local/lib/python3.8/site-packages/torch/serialization.py", line 809, in load return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args) File "/home/user/.local/lib/python3.8/site-packages/torch/serialization.py", line 1172, in _load result = unpickler.load() File "/home/user/.local/lib/python3.8/site-packages/torch/serialization.py", line 1165, in find_class return super().find_class(mod_name, name) AttributeError: Custom classes or functions exported with your `Learner` not available in namespace.\Re-declare/import before loading: Can't get attribute 'get_label' on <module '__main__' from 'app.py'>

Container logs:

Fetching error logs...