AttributeError: 'Image' object has no attribute 'value'
Hello could you help me resolve the error i’m getting please. I can import and load the theme locally withwith gr.Blocks(theme=("Katie-portswigger/Portswigger")) as demo:But it’s not running in Spaces.CONTAINER LOGS:===== Application Startup at 2023-08-22 14:32:28 =====Downloading (…)_schema%400.0.1.json:   0%|          | 0.00/13.4k [00:00<?, ?B/s]Downloading (…)_schema%400.0.1.json: 100%|██████████| 13.4k/13.4k [00:00<00:00, 78.8MB/s]Traceback (most recent call last):File “/home/user/app/app.py”, line 67, inimg = gr.Image(File “/home/user/.local/lib/python3.10/site-packages/gradio/components.py”, line 1667, ininitIOComponent.init(File “/home/user/.local/lib/python3.10/site-packages/gradio/components.py”, line 210, ininitelse self.postprocess(initial_value)File “/home/user/.local/lib/python3.10/site-packages/gradio/components.py”, line 1797, in postprocessreturn 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_base64return encode_url_to_base64(path)File “/home/user/.local/lib/python3.10/site-packages/gradio_client/utils.py”, line 374, in encode_url_to_base64resp.raise_for_status()File “/home/user/.local/lib/python3.10/site-packages/requests/models.py”, line 1021, in raise_for_statusraise HTTPError(http_error_msg, response=self)requests.exceptions.HTTPError: 404 Client Error: Not Found for url:https://www.gradio.app/assets/img/header-image.jpgDuring handling of the above exception, another exception occurred:Traceback (most recent call last):File “/home/user/app/app.py”, line 9, inwith gr.Blocks(theme=‘Katie-portswigger/Portswigger’) as demo:File “/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py”, line 1200, inexitself.config = self.get_config_file()File “/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py”, line 1165, in get_config_fileprops = block.get_config() if hasattr(block, “get_config”) else {}File “/home/user/.local/lib/python3.10/site-packages/gradio/components.py”, line 1687, in get_config“value”: self.value,AttributeError: ‘Image’ object has no attribute ‘value’BUILD LOGS:===== Build Queued at 2023-08-22 14:32:17 / Commit SHA: e2b1e3f =====→ FROMDockerDONE 0.0s→ RUN useradd -m -u 1000 userCACHED→ RUN pip install --no-cache-dir pip==22.3.1 &&     pip install --no-cache-dir         datasets         “huggingface-hub>=0.12.1” “protobuf<4” “click<8.1” “pydantic~=1.0”CACHED→ COPY --link --chown=1000 --from=lfs /app /home/user/appCACHED→ RUN --mount=target=requirements.txt,source=requirements.txt 	pip install --no-cache-dir -r requirements.txtCACHED→ RUN apt-get update && apt-get install -y 	git 	git-lfs 	ffmpeg 	libsm6 	libxext6 	cmake 	libgl1-mesa-glx 	&& rm -rf /var/lib/apt/lists/* 	&& git lfs installCACHED→ RUN --mount=target=pre-requirements.txt,source=pre-requirements.txt 	pip install --no-cache-dir -r pre-requirements.txtCACHED→ RUN --mount=target=/root/packages.txt,source=packages.txt 	apt-get update &&     xargs -r -a /root/packages.txt apt-get install -y     && rm -rf /var/lib/apt/lists/*CACHED→ WORKDIR /home/user/appCACHED→ RUN pip install --no-cache-dir         gradio==3.24.1CACHED→ COPY --link --chown=1000 ./ /home/user/appDONE 0.0s→ Pushing imageDONE 1.2s→ Exporting cacheDONE 1.6s
2023-08-25T19:08:39Z
What’s the Space you’re trying? Can you make sure it’s running the latest version of gradio?