runtime error

Exit code: 1. Reason: 8 (63K) [image/png] Saving to: ‘wave.png’ 0K .......... .......... .......... .......... .......... 79% 90.5M 0s 50K .......... .. 100% 220M=0.001s 2024-09-21 10:06:10 (103 MB/s) - ‘wave.png’ saved [64328/64328] --2024-09-21 10:06:10-- https://huggingface.co/menghanxia/ReversibleHalftoning/resolve/main/painting.png Resolving huggingface.co (huggingface.co)... 10.0.251.20, 10.0.251.86, 10.0.251.4, ... Connecting to huggingface.co (huggingface.co)|10.0.251.20|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 43504 (42K) [image/png] Saving to: ‘painting.png’ 0K .......... .......... .......... .......... .. 100% 184M=0s 2024-09-21 10:06:10 (184 MB/s) - ‘painting.png’ saved [43504/43504] /home/user/app/inference.py:20: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. self.checkpoint = torch.load(checkpoint_path, map_location=torch.device('cpu')) Traceback (most recent call last): File "/home/user/app/app.py", line 67, in <module> Image_input = gr.Image(type="numpy", label="Input", interactive=True).style(height=480) AttributeError: 'Image' object has no attribute 'style'. Did you mean: 'scale'?

Container logs:

Fetching error logs...