runtime error

n process_api result = await self.call_function(fn_index, inputs, iterator, request) File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 847, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "app.py", line 7, in humands model = load('modelo_entrenado.pkl') File "/home/user/.local/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 658, in load obj = _unpickle(fobj, filename, mmap_mode) File "/home/user/.local/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 577, in _unpickle obj = unpickler.load() File "/usr/local/lib/python3.8/pickle.py", line 1212, in load dispatch[key[0]](self) File "/home/user/.local/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 402, in load_build Unpickler.load_build(self) File "/usr/local/lib/python3.8/pickle.py", line 1705, in load_build setstate(state) File "sklearn/tree/_tree.pyx", line 714, in sklearn.tree._tree.Tree.__setstate__ File "sklearn/tree/_tree.pyx", line 1418, in sklearn.tree._tree._check_node_ndarray ValueError: node array from the pickle has an incompatible dtype: - expected: {'names': ['left_child', 'right_child', 'feature', 'threshold', 'impurity', 'n_node_samples', 'weighted_n_node_samples', 'missing_go_to_left'], 'formats': ['<i8', '<i8', '<i8', '<f8', '<f8', '<i8', '<f8', 'u1'], 'offsets': [0, 8, 16, 24, 32, 40, 48, 56], 'itemsize': 64} - got : [('left_child', '<i8'), ('right_child', '<i8'), ('feature', '<i8'), ('threshold', '<f8'), ('impurity', '<f8'), ('n_node_samples', '<i8'), ('weighted_n_node_samples', '<f8')]

Container logs:

Fetching error logs...