runtime error

Traceback (most recent call last): File "app.py", line 5, in <module> learn = load_learner('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 'is_cat' on <module '__main__' from 'app.py'>

Container logs:

Fetching error logs...