runtime error
Loaded as API: https://hysts-controlnet-v1-1.hf.space/ ✔ type(result) <class 'str'> /tmp/gradio/f0923d32-cea6-4b9d-9832-0e6ff9620141 IMG1 image <class 'gradio.components.image.Image'> <class 'numpy.ndarray'> Traceback (most recent call last): File "/home/user/app/app.py", line 45, in <module> imgout=gr.Image(result) File "/home/user/.local/lib/python3.10/site-packages/gradio/components/image.py", line 149, in __init__ IOComponent.__init__( File "/home/user/.local/lib/python3.10/site-packages/gradio/components/base.py", line 176, in __init__ else self.postprocess(initial_value) File "/home/user/.local/lib/python3.10/site-packages/gradio/components/image.py", line 296, in postprocess return client_utils.encode_url_or_file_to_base64(y) File "/home/user/.local/lib/python3.10/site-packages/gradio_client/utils.py", line 387, in encode_url_or_file_to_base64 return encode_file_to_base64(path) File "/home/user/.local/lib/python3.10/site-packages/gradio_client/utils.py", line 360, in encode_file_to_base64 with open(f, "rb") as file: IsADirectoryError: [Errno 21] Is a directory: '/tmp/gradio/f0923d32-cea6-4b9d-9832-0e6ff9620141' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 39, in <module> with gr.Blocks() as demo: File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1472, in __exit__ self.config = self.get_config_file() File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1439, in get_config_file props = block.get_config() if hasattr(block, "get_config") else {} File "/home/user/.local/lib/python3.10/site-packages/gradio/components/image.py", line 174, in get_config "value": self.value, AttributeError: 'Image' object has no attribute 'value'
Container logs:
Fetching error logs...