runtime error
Exit code: 1. Reason: -ffhq-config-f.pt Traceback (most recent call last): File "/home/user/app/gradio_app.py", line 318, in main mask = ImageMask(value=to_image(sample), label='Mask').style(height=768, width=768) File "/home/user/app/gradio_app.py", line 61, in __init__ super().__init__(source="upload", tool="sketch", interactive=True, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/components.py", line 1689, in __init__ IOComponent.__init__( File "/usr/local/lib/python3.10/site-packages/gradio/components.py", line 214, in __init__ else self.postprocess(initial_value) File "/usr/local/lib/python3.10/site-packages/gradio/components.py", line 1815, in postprocess return processing_utils.encode_array_to_base64(y) File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 100, in encode_array_to_base64 pil_image = Image.fromarray(_convert(image_array, np.uint8, force_copy=False)) File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 255, in _convert np.bool8: (False, True), File "/usr/local/lib/python3.10/site-packages/numpy/__init__.py", line 414, in __getattr__ raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'bool8'. Did you mean: 'bool'? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/gradio_app.py", line 346, in <module> demo = main() File "/home/user/app/gradio_app.py", line 240, in main with gr.Blocks() as demo: File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1404, in __exit__ self.config = self.get_config_file() File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1371, in get_config_file props = block.get_config() if hasattr(block, "get_config") else {} File "/usr/local/lib/python3.10/site-packages/gradio/components.py", line 1709, in get_config "value": self.value, AttributeError: 'ImageMask' object has no attribute 'value'
Container logs:
Fetching error logs...