runtime error

is deprecated. Please set these arguments in the constructor instead. toggle_dark = gr.Button(value="Toggle Dark").style(full_width=True) /home/user/app/app.py:22: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not. toggle_dark = gr.Button(value="Toggle Dark").style(full_width=True) Traceback (most recent call last): File "/home/user/app/app.py", line 65, in <module> img = gr.Image( 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 349, 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 323, in encode_file_to_base64 with open(f, "rb") as file: FileNotFoundError: [Errno 2] No such file or directory: 'https://gradio.app/assets/img/header-image.jpg' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 8, in <module> with gr.Blocks(theme='zenafey/zinc') 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...