runtime error

Traceback (most recent call last): File "/home/user/app/app.py", line 11, in <module> learn = load_learner('model.pkl') File "/usr/local/lib/python3.10/site-packages/fastai/learner.py", line 446, in load_learner try: res = torch.load(fname, map_location=map_loc, pickle_module=pickle_module) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1025, in load return _load(opened_zipfile, File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1446, in _load result = unpickler.load() File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1439, 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 'is_cat' on <module '__main__' from '/home/user/app/app.py'>

Container logs:

Fetching error logs...