runtime error
Exit code: 1. Reason: ec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) # type: ignore File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 103, in sync raise return_result File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 56, in _runner result[0] = await coro File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 505, in cache prediction = await Context.root_block.process_api( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1897, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1483, in call_function prediction = await anyio.to_thread.run_sync( File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 816, in wrapper response = f(*args, **kwargs) File "/home/user/app/app.py", line 173, in predict_price test_features_normalized = scaler.transform(test_features) File "/usr/local/lib/python3.10/site-packages/sklearn/utils/_set_output.py", line 313, in wrapped data_to_wrap = f(self, X, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/sklearn/preprocessing/_data.py", line 534, in transform X = self._validate_data( File "/usr/local/lib/python3.10/site-packages/sklearn/base.py", line 633, in _validate_data out = check_array(X, input_name="X", **check_params) File "/usr/local/lib/python3.10/site-packages/sklearn/utils/validation.py", line 1087, in check_array raise ValueError( ValueError: Found array with 0 sample(s) (shape=(0, 8)) while a minimum of 1 is required by MinMaxScaler.
Container logs:
Fetching error logs...