runtime error
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 67, 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 182, 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 386, in encode_url_or_file_to_base64 return encode_url_to_base64(path) File "/home/user/.local/lib/python3.10/site-packages/gradio_client/utils.py", line 374, in encode_url_to_base64 resp.raise_for_status() File "/home/user/.local/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://raw.githubusercontent.com/gradio-app/gradio/main/js/_website/src/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 9, in <module> with gr.Blocks(theme='nota-ai/theme') as demo: File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1477, in __exit__ self.config = self.get_config_file() File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1444, 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...