runtime error

prediction = await Context.root_block.process_api( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1075, in process_api result = await self.call_function( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 884, 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 14, in inferencing_model prediction_test_protas = predict_model(model, data = pred) File "/home/user/.local/lib/python3.8/site-packages/pycaret/regression.py", line 1741, in predict_model return pycaret.internal.tabular.predict_model( File "/home/user/.local/lib/python3.8/site-packages/pycaret/internal/tabular.py", line 8749, in predict_model pred = np.nan_to_num(estimator.predict(X_test_)) File "/home/user/.local/lib/python3.8/site-packages/sklearn/utils/metaestimators.py", line 119, in <lambda> out = lambda *args, **kwargs: self.fn(obj, *args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/sklearn/pipeline.py", line 408, in predict return self.steps[-1][-1].predict(Xt, **predict_params) File "/home/user/.local/lib/python3.8/site-packages/sklearn/compose/_target.py", line 229, in predict pred = self.regressor_.predict(X) File "/home/user/.local/lib/python3.8/site-packages/lightgbm/sklearn.py", line 899, in predict predict_params = self._process_params(stage="predict") File "/home/user/.local/lib/python3.8/site-packages/lightgbm/sklearn.py", line 674, in _process_params if self._n_classes > 2: TypeError: '>' not supported between instances of 'NoneType' and 'int'

Container logs:

Fetching error logs...